patch-2.4.3 linux/fs/ufs/super.c
Next file: linux/fs/ufs/truncate.c
Previous file: linux/fs/udf/super.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Fri Mar 2 11:12:12 2001
- Orig file:
v2.4.2/linux/fs/ufs/super.c
- Orig date:
Wed Feb 21 18:20:40 2001
diff -u --recursive --new-file v2.4.2/linux/fs/ufs/super.c linux/fs/ufs/super.c
@@ -489,6 +489,12 @@
if (!uspi)
goto failed;
+ /* Set a 2Gig file limit. Some UFS variants need to override
+ this but as I don't know which I'll let those in the know loosen
+ the rules */
+
+ sb->s_maxbytes = MAX_NON_LFS;
+
switch (sb->u.ufs_sb.s_mount_opt & UFS_MOUNT_UFSTYPE) {
case UFS_MOUNT_UFSTYPE_44BSD:
UFSD(("ufstype=44bsd\n"))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)