27 lines
863 B
Plaintext
27 lines
863 B
Plaintext
|
From: Sankar P <psankar@novell.com>
|
||
|
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 <psankar@novell.com>
|
||
|
Signed-off-by: Samrat Kannikar <ksamrat@novell.com>
|
||
|
Acked-by: Jan Kara <jack@suse.cz>
|
||
|
|
||
|
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
|
||
|
|