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:
parent
6066c0d2ee
commit
5afad5832a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107555
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user