freebsd-src/sys/ufs/ffs
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_alloc.c
ffs_balloc.c
ffs_extern.h
ffs_inode.c
ffs_rawread.c
ffs_snapshot.c
ffs_softdep.c
ffs_subr.c Updates to UFS/FFS superblock integrity checks when reading a superblock. 2022-07-31 20:29:08 -07:00
ffs_suspend.c
ffs_tables.c
ffs_vfsops.c
ffs_vnops.c
fs.h
softdep.h