Commit 605109ff authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: KEY_TYPE_error is allowed for reflink



KEY_TYPE_error is left behind when we have to delete all pointers in an
extent in fsck; it allows errors to be correctly returned by reads
later.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent fa845c73
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1504,7 +1504,8 @@ enum btree_id_flags {
	  BIT_ULL(KEY_TYPE_stripe))						\
	x(reflink,		7,	BTREE_ID_EXTENTS|BTREE_ID_DATA,		\
	  BIT_ULL(KEY_TYPE_reflink_v)|						\
	  BIT_ULL(KEY_TYPE_indirect_inline_data))				\
	  BIT_ULL(KEY_TYPE_indirect_inline_data)|				\
	  BIT_ULL(KEY_TYPE_error))						\
	x(subvolumes,		8,	0,					\
	  BIT_ULL(KEY_TYPE_subvolume))						\
	x(snapshots,		9,	0,					\