Update the second copy of libstand to deal with the new ufs2 superblock

format.  The one in sys/boot/libstand is not connected to the build.

Approved by:	re
This commit is contained in:
Jake Burkholder 2002-12-03 16:25:29 +00:00
parent 6066c0d2ee
commit 5afad5832a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107555

View File

@ -534,7 +534,7 @@ ufs_open(upath, f)
goto out;
if ((fs->fs_magic == FS_UFS1_MAGIC ||
(fs->fs_magic == FS_UFS2_MAGIC &&
fs->fs_sblockloc == numfrags(fs, sblock_try[i]))) &&
fs->fs_sblockloc == sblock_try[i])) &&
buf_size == SBLOCKSIZE &&
fs->fs_bsize <= MAXBSIZE &&
fs->fs_bsize >= sizeof(struct fs))