freebsd-dev/sys/ufs
Kirk McKusick 184e3118c1 Updates to UFS/FFS superblock integrity checks when reading a superblock.
Further updates based on analysis of the way the fields are used
in the various filesystem macros defined in fs.h.

Eliminate several checks for non-negative values where the fields
are checked for specific values. Since these specific values are
non-negative, if the value is a verified positive value then it
cannot be negative and such a check is redundant and unnecessary.

No legitimate superblocks should fail as a result of these changes.
2022-07-31 20:29:08 -07:00
..
ffs Updates to UFS/FFS superblock integrity checks when reading a superblock. 2022-07-31 20:29:08 -07:00
ufs Adjust function definitions in ufs_dirhash.c to avoid clang 15 warnings 2022-07-26 21:32:55 +02:00