[PATCH] block: Fix the blkcg_exit_queue reference in blk_sync_queue() kernel-doc

From: Karl Mehltretter

Date: Fri Sep 11 2026 - 19:53:22 EST


The blk_sync_queue() documentation still refers to the former
blkcg_exit_queue() name. The helper now takes a gendisk and is named
blkcg_exit_disk(). Update the reference.

Fixes: 9823538fb7ef ("blk-cgroup: pass a gendisk to blkcg_init_queue and blkcg_exit_queue")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <kmehltretter@xxxxxxxxx>
---
block/blk-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/block/blk-core.c b/block/blk-core.c
index 196bccf27f58dc270ad080470d70f846b864d4d3..867e7205c11e74f3ec6356a247bd8a8daa4964de 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -257,7 +257,7 @@ blk_status_t tag_to_blk_status(const char *tag)
*
* This function does not cancel any asynchronous activity arising
* out of elevator or throttling code. That would require elevator_exit()
- * and blkcg_exit_queue() to be called with queue lock initialized.
+ * and blkcg_exit_disk() to be called with queue lock initialized.
*
*/
void blk_sync_queue(struct request_queue *q)
--
2.39.5 (Apple Git-154)