@@ -165,7 +165,7 @@ enum bch_fsck_flags {
165
165
x(ptr_to_missing_replicas_entry, 149, FSCK_AUTOFIX) \
166
166
x(ptr_to_missing_stripe, 150, 0) \
167
167
x(ptr_to_incorrect_stripe, 151, 0) \
168
- x(ptr_gen_newer_than_bucket_gen, 152, 0 ) \
168
+ x(ptr_gen_newer_than_bucket_gen, 152, FSCK_AUTOFIX ) \
169
169
x(ptr_too_stale, 153, 0) \
170
170
x(stale_dirty_ptr, 154, FSCK_AUTOFIX) \
171
171
x(ptr_bucket_data_type_mismatch, 155, 0) \
@@ -236,7 +236,7 @@ enum bch_fsck_flags {
236
236
x(inode_multiple_links_but_nlink_0, 207, FSCK_AUTOFIX) \
237
237
x(inode_wrong_backpointer, 208, FSCK_AUTOFIX) \
238
238
x(inode_wrong_nlink, 209, FSCK_AUTOFIX) \
239
- x(inode_has_child_snapshots_wrong, 287, 0) \
239
+ x(inode_has_child_snapshots_wrong, 287, FSCK_AUTOFIX) \
240
240
x(inode_unreachable, 210, FSCK_AUTOFIX) \
241
241
x(inode_journal_seq_in_future, 299, FSCK_AUTOFIX) \
242
242
x(inode_i_sectors_underflow, 312, FSCK_AUTOFIX) \
@@ -279,8 +279,8 @@ enum bch_fsck_flags {
279
279
x(root_dir_missing, 239, 0) \
280
280
x(root_inode_not_dir, 240, 0) \
281
281
x(dir_loop, 241, 0) \
282
- x(hash_table_key_duplicate, 242, 0) \
283
- x(hash_table_key_wrong_offset, 243, 0) \
282
+ x(hash_table_key_duplicate, 242, FSCK_AUTOFIX) \
283
+ x(hash_table_key_wrong_offset, 243, FSCK_AUTOFIX) \
284
284
x(unlinked_inode_not_on_deleted_list, 244, FSCK_AUTOFIX) \
285
285
x(reflink_p_front_pad_bad, 245, 0) \
286
286
x(journal_entry_dup_same_device, 246, 0) \
0 commit comments