PERFORCE change 93677 for review
Kip Macy
kmacy at FreeBSD.org
Tue Mar 21 02:57:00 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=93677
Change 93677 by kmacy at kmacy_storage:sun4vtmp on 2006/03/21 02:56:50
handle absence of maxfilesize field on Solaris' UFS
Affected files ...
.. //depot/projects/kmacy_sun4v/src/sys/ufs/ffs/ffs_vfsops.c#4 edit
Differences ...
==== //depot/projects/kmacy_sun4v/src/sys/ufs/ffs/ffs_vfsops.c#4 (text+ko) ====
@@ -901,7 +901,9 @@
if (fs->fs_magic == FS_UFS1_MAGIC) {
ump->um_savedmaxfilesize = fs->fs_maxfilesize;
maxfilesize = (uint64_t)0x80000000 * fs->fs_bsize - 1;
+#ifndef SIMULATOR
if (fs->fs_maxfilesize > maxfilesize)
+#endif
fs->fs_maxfilesize = maxfilesize;
}
/* Compatibility for old filesystems */
More information about the p4-projects
mailing list