bcachefs: check_root() can now be run online
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 11 Dec 2023 03:51:16 +0000 (22:51 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 1 Jan 2024 16:47:41 +0000 (11:47 -0500)
commit002c76dcf6a49a82498e8cddcde75e0dd83f745a
treec08ae79e14a748667958c67a5136f5cd74f6b14f
parent38ced43bb04ac59b1417f520f4d5a5c3bc3d1e57
bcachefs: check_root() can now be run online

check_root() is simple enough to run as one single transaction, so is
trivial to run online.

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