patches for easier mirroring, to eliminate a special copy, to make www.freebsd.org/security a full copy of security.freebsd.org and be eventually be the same. For now files are just sitting there. The symlinks are missing. Discussed on: www (repository location) Discussed with: simon (so)
17 lines
834 B
Diff
17 lines
834 B
Diff
===================================================================
|
|
RCS file: /home/ncvs/src/sys/ufs/ffs/ffs_vfsops.c,v
|
|
retrieving revision 1.117.2.9
|
|
retrieving revision 1.117.2.10
|
|
diff -u -p -r1.117.2.9 -r1.117.2.10
|
|
--- sys/ufs/ffs/ffs_vfsops.c 2002/04/08 09:39:30 1.117.2.9
|
|
+++ sys/ufs/ffs/ffs_vfsops.c 2002/06/23 22:34:52 1.117.2.10
|
|
@@ -758,6 +758,9 @@ ffs_mountfs(devvp, mp, p, malloctype)
|
|
|
|
ump->um_savedmaxfilesize = fs->fs_maxfilesize; /* XXX */
|
|
maxfilesize = (u_int64_t)0x40000000 * fs->fs_bsize - 1; /* XXX */
|
|
+ /* Enforce limit caused by vm object backing (32 bits vm_pindex_t). */
|
|
+ if (maxfilesize > (u_int64_t)0x80000000u * PAGE_SIZE - 1)
|
|
+ maxfilesize = (u_int64_t)0x80000000u * PAGE_SIZE - 1;
|
|
if (fs->fs_maxfilesize > maxfilesize) /* XXX */
|
|
fs->fs_maxfilesize = maxfilesize; /* XXX */
|
|
if (ronly == 0) {
|