patch-2.4.3 linux/fs/affs/super.c

Next file: linux/fs/bfs/inode.c
Previous file: linux/fs/adfs/super.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.2/linux/fs/affs/super.c linux/fs/affs/super.c
@@ -415,6 +415,12 @@
 
 	s->s_flags |= MS_NODEV | MS_NOSUID;
 
+	/*
+	 * Max file size is 2Gb
+	 */
+	 
+	s->s_maxbytes = MAX_NON_LFS;
+
 	/* Keep super block in cache */
 	bb = affs_bread(dev,root_block,s->s_blocksize);
 	if (!bb)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)