Skip to contentSkip to conversation

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

PATCH New Karl Mehltretter 1 participant 1 message Sep 11 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: Fix the blkcg_exit_queue reference in blk_sync_queue() kernel-doc

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
---
 block/blk-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
block/blk-core.c +1 -1
index 196bccf27f58dc270ad080470d70f846b864d4d3..867e7205c11e74f3ec6356a247bd8a8daa4964de 100644
@@ -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)
Signature · 1 line
2.39.5 (Apple Git-154)