File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 2020 * x(version, recovery_passes, errors...)
2121 */
2222#define UPGRADE_TABLE () \
23+ x(snapshot_2, \
24+ RECOVERY_PASS_ALL_FSCK, \
25+ BCH_FSCK_ERR_subvol_root_wrong_bi_subvol, \
26+ BCH_FSCK_ERR_subvol_not_master_and_not_snapshot) \
2327 x(backpointers, \
2428 RECOVERY_PASS_ALL_FSCK) \
2529 x(inode_v3, \
Original file line number Diff line number Diff line change @@ -205,9 +205,9 @@ enum bch_fsck_flags {
205205 x(snapshot_bad_depth, 184, 0) \
206206 x(snapshot_bad_skiplist, 185, 0) \
207207 x(subvol_pos_bad, 186, 0) \
208- x(subvol_not_master_and_not_snapshot, 187, 0) \
208+ x(subvol_not_master_and_not_snapshot, 187, FSCK_AUTOFIX) \
209209 x(subvol_to_missing_root, 188, 0) \
210- x(subvol_root_wrong_bi_subvol, 189, 0) \
210+ x(subvol_root_wrong_bi_subvol, 189, FSCK_AUTOFIX) \
211211 x(bkey_in_missing_snapshot, 190, 0) \
212212 x(inode_pos_inode_nonzero, 191, 0) \
213213 x(inode_pos_blockdev_range, 192, 0) \
You can’t perform that action at this time.
0 commit comments