summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-03-10 20:20:29 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2025-03-14 21:02:15 -0400
commitbafd41b435afebe40ce931cc4599e5aa330788f3 (patch)
tree264415d0a77c645bf986cfdd33c026db31fcd73e /fs
parentfb195fa7538fe1150a4c6033ac8a3ed90f1ba69e (diff)
downloadlinux-next-bafd41b435afebe40ce931cc4599e5aa330788f3.tar.gz
linux-next-bafd41b435afebe40ce931cc4599e5aa330788f3.zip
bcachefs: Fix error type in bch2_alloc_v3_validate()
Use error type alloc_v3_unpack_error in bch2_alloc_v3_validate(). Fixes: b65db750e2bb ("bcachefs: Enumerate fsck errors") Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs')
-rw-r--r--fs/bcachefs/alloc_background.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/alloc_background.c b/fs/bcachefs/alloc_background.c
index ecad4a78c3f7..4dfcf3e6fffd 100644
--- a/fs/bcachefs/alloc_background.c
+++ b/fs/bcachefs/alloc_background.c
@@ -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;