* [PATCH] bcachefs: Fix error type in bch2_alloc_v3_validate()
@ 2025-03-10 19:20 Thorsten Blum
2025-03-10 20:12 ` Kent Overstreet
0 siblings, 1 reply; 2+ messages in thread
From: Thorsten Blum @ 2025-03-10 19:20 UTC (permalink / raw)
To: Kent Overstreet; +Cc: Thorsten Blum, linux-bcachefs, linux-kernel
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>
---
fs/bcachefs/alloc_background.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
2.48.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] bcachefs: Fix error type in bch2_alloc_v3_validate()
2025-03-10 19:20 [PATCH] bcachefs: Fix error type in bch2_alloc_v3_validate() Thorsten Blum
@ 2025-03-10 20:12 ` Kent Overstreet
0 siblings, 0 replies; 2+ messages in thread
From: Kent Overstreet @ 2025-03-10 20:12 UTC (permalink / raw)
To: Thorsten Blum; +Cc: linux-bcachefs, linux-kernel
On Mon, Mar 10, 2025 at 08:20:29PM +0100, Thorsten Blum wrote:
> 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>
Thanks, applied
> ---
> fs/bcachefs/alloc_background.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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;
> --
> 2.48.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-03-10 20:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-10 19:20 [PATCH] bcachefs: Fix error type in bch2_alloc_v3_validate() Thorsten Blum
2025-03-10 20:12 ` Kent Overstreet
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.