freebsd-dev/sys/ufs/ffs
Kirk McKusick a2d1957bbc Updates to UFS/FFS superblock integrity checks when reading a superblock.
Check for an uninitialed (zero valued) fs_maxbsize and set it
to its minimum valid size (fs_bsize). Uninitialed fs_maxbsize
were left by older versions of makefs(8) and the superblock
integrity checks fail when they are found.

No legitimate superblocks should fail as a result of these changes.

MFC after:    1 week
Sponsored by: The FreeBSD Foundation
2023-04-29 17:01:18 -07:00
..
ffs_alloc.c Improvement in UFS/FFS directory placement when doing mkdir(2). 2023-03-29 21:13:27 -07:00
ffs_balloc.c ffs: lock buffers after snaplk with LK_NOWITNESS 2022-02-01 06:54:50 +02:00
ffs_extern.h Explicitly initialize rather than reading newly allocated UFS inodes. 2022-08-13 13:51:25 -07:00
ffs_inode.c Another fix to build from 064e6b4. 2022-07-13 21:05:05 -07:00
ffs_rawread.c
ffs_snapshot.c Enable taking snapshots on UFS/FFS filesystems using journaled soft updates. 2022-11-12 22:56:03 -08:00
ffs_softdep.c vn_lock_pair(): allow to request shared locking 2023-04-08 01:58:26 +03:00
ffs_subr.c Updates to UFS/FFS superblock integrity checks when reading a superblock. 2023-04-29 17:01:18 -07:00
ffs_suspend.c UFSSUSPEND: unbusy mp in EDADLK case 2022-12-30 11:44:20 +02:00
ffs_tables.c
ffs_vfsops.c Stop cleaning MNT_LOCAL on unmount 2023-01-14 20:28:11 +02:00
ffs_vnops.c ufs: add missing vop_fplookup ops to fifo vectors 2023-04-07 20:39:05 +00:00
fs.h Increase the maximum size of the journaled soft-updates journal. 2022-10-21 11:00:00 -07:00
softdep.h Clean up orphaned indirdep dependency structures after disk failure. 2021-07-29 16:31:16 -07:00