2010-07-07 11:12:45 +00:00
|
|
|
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>
|
|
|
|
|
2011-04-19 20:09:59 +00:00
|
|
|
---
|
|
|
|
fs/novfs/inode.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2010-07-07 11:12:45 +00:00
|
|
|
--- a/fs/novfs/inode.c
|
|
|
|
+++ b/fs/novfs/inode.c
|
2011-04-19 20:09:59 +00:00
|
|
|
@@ -3825,7 +3825,7 @@ int novfs_fill_super(struct super_block
|
2010-07-07 11:12:45 +00:00
|
|
|
|
|
|
|
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;
|