Re: [PATCH v2] writeback: fix kernel-doc function name mismatch for wb_put_many()
From: Jan Kara
Date: Tue Mar 17 2026 - 04:10:57 EST
On Sun 15-03-26 18:09:31, Kit Dallege wrote:
> The kernel-doc comment says wb_put but the actual function is
> wb_put_many. Fix the name to match.
>
> Assisted-by: Claude:claude-opus-4-6
> Signed-off-by: Kit Dallege <xaum.io@xxxxxxxxx>
Looks good. Feel free to add:
Reviewed-by: Jan Kara <jack@xxxxxxx>
Honza
> ---
> include/linux/backing-dev-defs.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/backing-dev-defs.h b/include/linux/backing-dev-defs.h
> index c88fd4d37d1f..a06b93446d10 100644
> --- a/include/linux/backing-dev-defs.h
> +++ b/include/linux/backing-dev-defs.h
> @@ -237,7 +237,7 @@ static inline void wb_get(struct bdi_writeback *wb)
> }
>
> /**
> - * wb_put - decrement a wb's refcount
> + * wb_put_many - decrement a wb's refcount
> * @wb: bdi_writeback to put
> * @nr: number of references to put
> */
> --
> 2.53.0
>
--
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR