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 20
20
* x(version, recovery_passes, errors...)
21
21
*/
22
22
#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) \
23
27
x(backpointers, \
24
28
RECOVERY_PASS_ALL_FSCK) \
25
29
x(inode_v3, \
Original file line number Diff line number Diff line change @@ -205,9 +205,9 @@ enum bch_fsck_flags {
205
205
x(snapshot_bad_depth, 184, 0) \
206
206
x(snapshot_bad_skiplist, 185, 0) \
207
207
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) \
209
209
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) \
211
211
x(bkey_in_missing_snapshot, 190, 0) \
212
212
x(inode_pos_inode_nonzero, 191, 0) \
213
213
x(inode_pos_blockdev_range, 192, 0) \
You can’t perform that action at this time.
0 commit comments