[PATCH v2] writeback: fix kernel-doc function name mismatch for wb_put_many()

Kit Dallege posted 1 patch 3 weeks, 1 day ago
include/linux/backing-dev-defs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v2] writeback: fix kernel-doc function name mismatch for wb_put_many()
Posted by Kit Dallege 3 weeks, 1 day ago
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@gmail.com>
---
 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
Re: [PATCH v2] writeback: fix kernel-doc function name mismatch for wb_put_many()
Posted by Christian Brauner 2 weeks, 6 days ago
On Sun, 15 Mar 2026 18:09:31 +0100, Kit Dallege wrote:
> The kernel-doc comment says wb_put but the actual function is
> wb_put_many. Fix the name to match.

Applied to the vfs-7.1.misc branch of the vfs/vfs.git tree.
Patches in the vfs-7.1.misc branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-7.1.misc

[1/1] writeback: fix kernel-doc function name mismatch for wb_put_many()
      https://git.kernel.org/vfs/vfs/c/2727d44f5d5b
Re: [PATCH v2] writeback: fix kernel-doc function name mismatch for wb_put_many()
Posted by Jan Kara 2 weeks, 6 days ago
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@gmail.com>

Looks good. Feel free to add:

Reviewed-by: Jan Kara <jack@suse.cz>

								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@suse.com>
SUSE Labs, CR