bcachefs: check_directory_structure() can now be run online
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 11 Dec 2023 03:52:43 +0000 (22:52 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 1 Jan 2024 16:47:44 +0000 (11:47 -0500)
commitc98d132ed1e37bb1c6b2ddbb50f9eae2283f0df6
treef1659eb04877fbf3b3de67d2fe0bbd09ef582091
parentd296e7b18521d60e3c428945c19a66ecf012c002
bcachefs: check_directory_structure() can now be run online

Now that we have dynamically resizable btree paths,
check_directory_structure() can check one path - inode up to the root -
in a single transaction.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fsck.c
fs/bcachefs/recovery_types.h