summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-06-16 16:17:49 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-07-05 12:42:42 -0400
commit8dd0905daa7cd1dfede6b946d540e27a85a8358c (patch)
treecac7376acc6e7cd96d2e6939f63972b70790eff9
parent63a83463d278ea9f9eff7f58708322856e106d87 (diff)
bcachefs: fsck: dir_loop, subvol_loop now autofix
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
-rw-r--r--fs/bcachefs/sb-errors_format.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/bcachefs/sb-errors_format.h b/fs/bcachefs/sb-errors_format.h
index d154b7651d28..6cdb07a721e9 100644
--- a/fs/bcachefs/sb-errors_format.h
+++ b/fs/bcachefs/sb-errors_format.h
@@ -279,7 +279,7 @@ enum bch_fsck_flags {
x(root_subvol_missing, 238, 0) \
x(root_dir_missing, 239, 0) \
x(root_inode_not_dir, 240, 0) \
- x(dir_loop, 241, 0) \
+ x(dir_loop, 241, FSCK_AUTOFIX) \
x(hash_table_key_duplicate, 242, FSCK_AUTOFIX) \
x(hash_table_key_wrong_offset, 243, FSCK_AUTOFIX) \
x(unlinked_inode_not_on_deleted_list, 244, FSCK_AUTOFIX) \
@@ -296,7 +296,7 @@ enum bch_fsck_flags {
x(subvol_root_fs_path_parent_nonzero, 255, 0) \
x(subvol_children_not_set, 256, 0) \
x(subvol_children_bad, 257, 0) \
- x(subvol_loop, 258, 0) \
+ x(subvol_loop, 258, FSCK_AUTOFIX) \
x(subvol_unreachable, 259, FSCK_AUTOFIX) \
x(btree_node_bkey_bad_u64s, 260, 0) \
x(btree_node_topology_empty_interior_node, 261, 0) \