From: Sankar P Subject: fs: novfs: Initialize super-block with standard macros Patch-mainline: no Initialize the super block's maxbytes with MAX_LFS_FILESIZE macro. Signed-off-by: Sankar P Signed-off-by: Samrat Kannikar Acked-by: Jan Kara diff --git a/fs/novfs/inode.c b/fs/novfs/inode.c index e33a5f8..1c17f7f 100644 --- a/fs/novfs/inode.c +++ b/fs/novfs/inode.c @@ -3826,7 +3826,7 @@ int novfs_fill_super(struct super_block *SB, void *Data, int Silent) SB->s_blocksize = PAGE_CACHE_SIZE; SB->s_blocksize_bits = PAGE_CACHE_SHIFT; - SB->s_maxbytes = 0xFFFFFFFFFFFFFFFFULL; /* Max file size */ + SB->s_maxbytes = MAX_LFS_FILESIZE; /* Max file size */ SB->s_op = &novfs_ops; SB->s_flags |= (MS_NODIRATIME | MS_NODEV | MS_POSIXACL); SB->s_magic = NOVFS_MAGIC; -- 1.6.4.2