Commit bafd41b4 authored by Thorsten Blum's avatar Thorsten Blum Committed by Kent Overstreet
Browse files

bcachefs: Fix error type in bch2_alloc_v3_validate()



Use error type alloc_v3_unpack_error in bch2_alloc_v3_validate().

Fixes: b65db750 ("bcachefs: Enumerate fsck errors")
Signed-off-by: default avatarThorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent fb195fa7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -232,7 +232,7 @@ int bch2_alloc_v3_validate(struct bch_fs *c, struct bkey_s_c k,
	int ret = 0;

	bkey_fsck_err_on(bch2_alloc_unpack_v3(&u, k),
			 c, alloc_v2_unpack_error,
			 c, alloc_v3_unpack_error,
			 "unpack error");
fsck_err:
	return ret;