Commit 9e9c28ac authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Add upgrade table entry from 0.14



There are a few errors that needed to be marked as autofix.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 3c240201
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -20,6 +20,10 @@
 * x(version, recovery_passes, errors...)
 */
#define UPGRADE_TABLE()						\
	x(snapshot_2,						\
	  RECOVERY_PASS_ALL_FSCK,				\
	  BCH_FSCK_ERR_subvol_root_wrong_bi_subvol,		\
	  BCH_FSCK_ERR_subvol_not_master_and_not_snapshot)	\
	x(backpointers,						\
	  RECOVERY_PASS_ALL_FSCK)				\
	x(inode_v3,						\
+2 −2
Original line number Diff line number Diff line
@@ -205,9 +205,9 @@ enum bch_fsck_flags {
	x(snapshot_bad_depth,					184,	0)		\
	x(snapshot_bad_skiplist,				185,	0)		\
	x(subvol_pos_bad,					186,	0)		\
	x(subvol_not_master_and_not_snapshot,			187,	0)		\
	x(subvol_not_master_and_not_snapshot,			187,	FSCK_AUTOFIX)	\
	x(subvol_to_missing_root,				188,	0)		\
	x(subvol_root_wrong_bi_subvol,				189,	0)		\
	x(subvol_root_wrong_bi_subvol,				189,	FSCK_AUTOFIX)	\
	x(bkey_in_missing_snapshot,				190,	0)		\
	x(inode_pos_inode_nonzero,				191,	0)		\
	x(inode_pos_blockdev_range,				192,	0)		\