Fix for 548045b a too aggressive UFS superblock integrity check.
Reported by: Jenkins
This commit is contained in:
parent
321dc6ee7e
commit
3e40d2cc61
@ -415,7 +415,7 @@ validate_sblock(struct fs *fs, int flags)
|
||||
CHK(fs->fs_ipg * fs->fs_ncg, >, (((int64_t)(1)) << 32) - INOPB(fs),
|
||||
%jd);
|
||||
CHK(fs->fs_sblockloc, <, 0, %jd);
|
||||
CHK(fs->fs_sblockloc, >, fs->fs_fpg, %jd);
|
||||
CHK(fs->fs_sblockloc, >, dbtob(fs->fs_fpg), %jd);
|
||||
CHK(fs->fs_sbsize, >, SBLOCKSIZE, %jd);
|
||||
CHK(fs->fs_maxbsize, <, fs->fs_bsize, %jd);
|
||||
CHK(powerof2(fs->fs_maxbsize), ==, 0, %jd);
|
||||
|
Loading…
Reference in New Issue
Block a user