summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorMinwoo Im <minwoo.im.dev@gmail.com>2020-12-04 16:20:54 +0100
committerJens Axboe <axboe@kernel.dk>2020-12-12 19:13:41 +0100
commitd220a21410e445324b8ae67d93f9c51406f99a29 (patch)
tree83cc9adc8129493f05bf477a9d30b9a999c46e78 /block
parentblk-mq: add helper allocating tagset->tags (diff)
downloadlinux-d220a21410e445324b8ae67d93f9c51406f99a29.tar.xz
linux-d220a21410e445324b8ae67d93f9c51406f99a29.zip
blk-mq: update arg in comment of blk_mq_map_queue
Update mis-named argument description of blk_mq_map_queue(). This patch also updates description that argument to software queue percpu context. Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com> Reviewed-by: John Garry <john.garry@huawei.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/blk-mq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-mq.h b/block/blk-mq.h
index c696515766c7..c1458d9502f1 100644
--- a/block/blk-mq.h
+++ b/block/blk-mq.h
@@ -99,7 +99,7 @@ static inline struct blk_mq_hw_ctx *blk_mq_map_queue_type(struct request_queue *
* blk_mq_map_queue() - map (cmd_flags,type) to hardware queue
* @q: request queue
* @flags: request command flags
- * @cpu: cpu ctx
+ * @ctx: software queue cpu ctx
*/
static inline struct blk_mq_hw_ctx *blk_mq_map_queue(struct request_queue *q,
unsigned int flags,