• Andrew Morton's avatar
    fs/overlayfs/super.c needs pagemap.h · e458bcd1
    Andrew Morton authored
    i386 allmodconfig:
    
      In file included from fs/overlayfs/super.c:10:0:
      fs/overlayfs/super.c: In function 'ovl_fill_super':
      include/linux/fs.h:898:36: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function)
       #define MAX_LFS_FILESIZE (((loff_t)PAGE_CACHE_SIZE << (BITS_PER_LONG-1))-1)
                                          ^
      fs/overlayfs/super.c:939:19: note: in expansion of macro 'MAX_LFS_FILESIZE'
        sb->s_maxbytes = MAX_LFS_FILESIZE;
                         ^
      include/linux/fs.h:898:36: note: each undeclared identifier is reported only once for each function it appears in
       #define MAX_LFS_FILESIZE (((loff_t)PAGE_CACHE_SIZE << (BITS_PER_LONG-1))-1)
                                          ^
      fs/overlayfs/super.c:939:19: note: in expansion of macro 'MAX_LFS_FILESIZE'
        sb->s_maxbytes = MAX_LFS_FILESIZE;
                         ^
    
    Cc: Miklos Szeredi <miklos@szeredi.hu>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    e458bcd1
super.c 23.7 KB