patch-2.4.3 linux/fs/cramfs/inode.c

Next file: linux/fs/dcache.c
Previous file: linux/fs/coda/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.2/linux/fs/cramfs/inode.c linux/fs/cramfs/inode.c
@@ -194,9 +194,9 @@
 
 	/* Set it all up.. */
 	sb->s_op	= &cramfs_ops;
-	sb->s_root = d_alloc_root(get_cramfs_inode(sb, &super.root));
+	sb->s_root 	= d_alloc_root(get_cramfs_inode(sb, &super.root));
+	sb->s_maxbytes = MAX_NON_LFS;
 	retval = sb;
-
 out:
 	return retval;
 }

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