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-06-30 17:38:19 -0400
commit87f0c24012d9b707ba64ad2e9ddb9919a65e7d5d (patch)
tree31a0340fdf8398e98cfa68dfbda64c1b21d0698e
parent1b68e7f71480c4951aedad2c037d57b0856a488b (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) \