[Pvfs2-cvs] commit by slang in pvfs2/src/kernel/linux-2.6: super.c

CVS commit program cvs at parl.clemson.edu
Wed Jan 6 00:22:52 EST 2010


Update of /projects/cvsroot/pvfs2/src/kernel/linux-2.6
In directory parlweb1:/tmp/cvs-serv767/src/kernel/linux-2.6

Modified Files:
      Tag: pvfs-2-8-branch
	super.c 
Log Message:
fix sb->s_maxbytes warning.


Index: super.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/kernel/linux-2.6/super.c,v
diff -p -u -r1.106.2.5 -r1.106.2.6
--- super.c	18 Dec 2009 22:32:11 -0000	1.106.2.5
+++ super.c	6 Jan 2010 05:22:52 -0000	1.106.2.6
@@ -1259,7 +1259,7 @@ int pvfs2_fill_sb(
 
     sb->s_blocksize = pvfs_bufmap_size_query();
     sb->s_blocksize_bits = pvfs_bufmap_shift_query();
-    sb->s_maxbytes = (unsigned long long) 1 << 63;
+    sb->s_maxbytes = MAX_LFS_FILESIZE;
 
     root_object.handle = PVFS2_SB(sb)->root_handle;
     root_object.fs_id  = PVFS2_SB(sb)->fs_id;



More information about the Pvfs2-cvs mailing list