]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
bcachefs: check_unreachable_inodes is not actually PASS_ONLINE yet
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 4 Jan 2025 17:10:25 +0000 (12:10 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Fri, 10 Jan 2025 04:38:42 +0000 (23:38 -0500)
check_unreachable_inodes does work in online mode, with the one caveat
that it assumes check_dirents has also run - and check_dirents is not
PASS_ONLINE yet.

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

index 71baad41d8c5b030d1bf7541782d423c2b58fc53..418557960ed6e03143507b180804ea0503e537d9 100644 (file)
@@ -53,7 +53,7 @@
        x(check_dirents,                        27, PASS_FSCK)                          \
        x(check_xattrs,                         28, PASS_FSCK)                          \
        x(check_root,                           29, PASS_ONLINE|PASS_FSCK)              \
-       x(check_unreachable_inodes,             40, PASS_ONLINE|PASS_FSCK)              \
+       x(check_unreachable_inodes,             40, PASS_FSCK)                          \
        x(check_subvolume_structure,            36, PASS_ONLINE|PASS_FSCK)              \
        x(check_directory_structure,            30, PASS_ONLINE|PASS_FSCK)              \
        x(check_nlinks,                         31, PASS_FSCK)                          \