Skip to contentSkip to conversation

writeback: fix kernel-doc function name mismatch for wb_put_many()

PATCH Applied Kit Dallege 3 participants 3 messages Mar 15 – Mar 17 VFS

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 writeback: fix kernel-doc function name mismatch for wb_put_many()

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
---
 include/linux/backing-dev-defs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/backing-dev-defs.h +1 -1
index c88fd4d37d1f..a06b93446d10 100644
@@ -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
  */
Signature · 1 line
2.53.0
reviewer Reviewed-by on v2 1/1
#1 lore raw
Quoted 5 lines · Kit Dallege

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

Looks good. Feel free to add:

Honza

Quoted 20 lines
---
 include/linux/backing-dev-defs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/backing-dev-defs.h +1 -1
index c88fd4d37d1f..a06b93446d10 100644
@@ -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
  */
Signature · 1 line
2.53.0
Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR
maintainer Applied
#2 lore raw
In reply to Kit Dallege
Quoted 2 lines · Kit Dallege

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