@@ -213,19 +213,19 @@ enum bch_fsck_flags {
213
213
x(inode_checksum_type_invalid, 199, 0) \
214
214
x(inode_compression_type_invalid, 200, 0) \
215
215
x(inode_subvol_root_but_not_dir, 201, 0) \
216
- x(inode_i_size_dirty_but_clean, 202, 0) \
217
- x(inode_i_sectors_dirty_but_clean, 203, 0) \
218
- x(inode_i_sectors_wrong, 204, 0) \
219
- x(inode_dir_wrong_nlink, 205, 0) \
220
- x(inode_dir_multiple_links, 206, 0) \
221
- x(inode_multiple_links_but_nlink_0, 207, 0) \
222
- x(inode_wrong_backpointer, 208, 0) \
223
- x(inode_wrong_nlink, 209, 0) \
224
- x(inode_unreachable, 210, 0) \
225
- x(deleted_inode_but_clean, 211, 0) \
226
- x(deleted_inode_missing, 212, 0) \
227
- x(deleted_inode_is_dir, 213, 0) \
228
- x(deleted_inode_not_unlinked, 214, 0) \
216
+ x(inode_i_size_dirty_but_clean, 202, FSCK_AUTOFIX) \
217
+ x(inode_i_sectors_dirty_but_clean, 203, FSCK_AUTOFIX) \
218
+ x(inode_i_sectors_wrong, 204, FSCK_AUTOFIX) \
219
+ x(inode_dir_wrong_nlink, 205, FSCK_AUTOFIX) \
220
+ x(inode_dir_multiple_links, 206, FSCK_AUTOFIX) \
221
+ x(inode_multiple_links_but_nlink_0, 207, FSCK_AUTOFIX) \
222
+ x(inode_wrong_backpointer, 208, FSCK_AUTOFIX) \
223
+ x(inode_wrong_nlink, 209, FSCK_AUTOFIX) \
224
+ x(inode_unreachable, 210, FSCK_AUTOFIX) \
225
+ x(deleted_inode_but_clean, 211, FSCK_AUTOFIX) \
226
+ x(deleted_inode_missing, 212, FSCK_AUTOFIX) \
227
+ x(deleted_inode_is_dir, 213, FSCK_AUTOFIX) \
228
+ x(deleted_inode_not_unlinked, 214, FSCK_AUTOFIX) \
229
229
x(extent_overlapping, 215, 0) \
230
230
x(key_in_missing_inode, 216, 0) \
231
231
x(key_in_wrong_inode_type, 217, 0) \
@@ -255,7 +255,7 @@ enum bch_fsck_flags {
255
255
x(dir_loop, 241, 0) \
256
256
x(hash_table_key_duplicate, 242, 0) \
257
257
x(hash_table_key_wrong_offset, 243, 0) \
258
- x(unlinked_inode_not_on_deleted_list, 244, 0) \
258
+ x(unlinked_inode_not_on_deleted_list, 244, FSCK_AUTOFIX) \
259
259
x(reflink_p_front_pad_bad, 245, 0) \
260
260
x(journal_entry_dup_same_device, 246, 0) \
261
261
x(inode_bi_subvol_missing, 247, 0) \
@@ -282,8 +282,8 @@ enum bch_fsck_flags {
282
282
x(btree_ptr_v2_written_0, 268, 0) \
283
283
x(subvol_snapshot_bad, 269, 0) \
284
284
x(subvol_inode_bad, 270, 0) \
285
- x(alloc_key_stripe_sectors_wrong, 271, 0) \
286
- x(accounting_mismatch, 272, 0) \
285
+ x(alloc_key_stripe_sectors_wrong, 271, FSCK_AUTOFIX) \
286
+ x(accounting_mismatch, 272, FSCK_AUTOFIX) \
287
287
x(accounting_replicas_not_marked, 273, 0) \
288
288
x(invalid_btree_id, 274, 0) \
289
289
x(alloc_key_io_time_bad, 275, 0) \
0 commit comments