freebsd-dev/sys/ufs/ffs
Kirk McKusick f1549d7d52 Write out corrected superblock when creating a UFS/FFS snapshot.
When taking a snapshot on a UFS version 1 filesystem we need to
call ffs_oldfscompat_write() to unwind any in-memory changes that
were made to the superblock before writing it. The cause of this bug
was that the trimmed down maximum file size was not being reverted.

PR:           271352
Tested-by:    Peter Holm
MFC-after:    1 week
Sponsored-by: The FreeBSD Foundation
2023-06-13 00:22:13 -07:00
..
ffs_alloc.c Add the ability to adjust directory depths to background fsck_ffs(8). 2023-05-25 19:27:04 -07:00
ffs_balloc.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06: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 spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
ffs_snapshot.c Write out corrected superblock when creating a UFS/FFS snapshot. 2023-06-13 00:22:13 -07:00
ffs_softdep.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
ffs_subr.c Updates to UFS/FFS superblock integrity checks when reading a superblock. 2023-05-27 12:24:11 -07:00
ffs_suspend.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
ffs_tables.c
ffs_vfsops.c Stop cleaning MNT_LOCAL on unmount 2023-01-14 20:28:11 +02:00
ffs_vnops.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
fs.h Add the ability to adjust directory depths to background fsck_ffs(8). 2023-05-25 19:27:04 -07:00
softdep.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00