From: Kent Overstreet Date: Sun, 13 Apr 2025 20:28:41 +0000 (-0400) Subject: bcachefs: btree_root_unreadable_and_scan_found_nothing now AUTOFIX X-Git-Tag: v6.15-rc3~30^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8692c7db9a66c5efe7956afc48d21bc994289d95;p=thirdparty%2Fkernel%2Flinux.git bcachefs: btree_root_unreadable_and_scan_found_nothing now AUTOFIX This will likely mean that the btree had only one node - there was nothing or almost nothing in it, and we should reconstruct and continue. Signed-off-by: Kent Overstreet --- diff --git a/fs/bcachefs/sb-errors_format.h b/fs/bcachefs/sb-errors_format.h index 5d43e3504386a..512c56ee5d943 100644 --- a/fs/bcachefs/sb-errors_format.h +++ b/fs/bcachefs/sb-errors_format.h @@ -290,7 +290,7 @@ enum bch_fsck_flags { x(btree_node_bkey_bad_u64s, 260, 0) \ x(btree_node_topology_empty_interior_node, 261, 0) \ x(btree_ptr_v2_min_key_bad, 262, 0) \ - x(btree_root_unreadable_and_scan_found_nothing, 263, 0) \ + x(btree_root_unreadable_and_scan_found_nothing, 263, FSCK_AUTOFIX) \ x(snapshot_node_missing, 264, 0) \ x(dup_backpointer_to_bad_csum_extent, 265, 0) \ x(btree_bitmap_not_marked, 266, FSCK_AUTOFIX) \