freebsd-nq/usr.sbin/makefs/zfs
Mark Johnston 4f816f5b11 makefs: Fix space accounting for the root DSL directory
Space used by the MOS is summed after all on-disk data structures are
finalized, so the MOS DSL directory represents a special case when
counting bytes used for each directory.  The DSL layer failed to update
the MOS DSL directory's parent, the root directory, accordingly, so the
root directory reported less space used than was used in reality.  Be
careful to update the root directory after the MOS is finalized.

PR:		265849
Sponsored by:	The FreeBSD Foundation
2022-08-16 11:02:51 -04:00
..
dsl.c makefs: Fix space accounting for the root DSL directory 2022-08-16 11:02:51 -04:00
fs.c makefs: Fix a memory leak in fs_layout_one() 2022-08-11 10:18:13 -04:00
Makefile.inc
objset.c makefs: Fix space accounting for the root DSL directory 2022-08-16 11:02:51 -04:00
vdev.c
zap.c
zfs.h makefs: Fix space accounting for the root DSL directory 2022-08-16 11:02:51 -04:00