summaryrefslogtreecommitdiff
path: root/block/blk-mq.h
diff options
context:
space:
mode:
authorMinwoo Im <minwoo.im.dev@gmail.com>2020-12-05 00:20:54 +0900
committerJens Axboe <axboe@kernel.dk>2020-12-12 11:13:41 -0700
commitd220a21410e445324b8ae67d93f9c51406f99a29 (patch)
tree83cc9adc8129493f05bf477a9d30b9a999c46e78 /block/blk-mq.h
parent91cdf265b74bf63a69949d6db08a60523207400c (diff)
downloadlwn-d220a21410e445324b8ae67d93f9c51406f99a29.tar.gz
lwn-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/blk-mq.h')
-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,