Skip to content

Commit d220a21

Browse files
minwooimaxboe
authored andcommitted
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 <[email protected]> Reviewed-by: John Garry <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent 91cdf26 commit d220a21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

block/blk-mq.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ static inline struct blk_mq_hw_ctx *blk_mq_map_queue_type(struct request_queue *
9999
* blk_mq_map_queue() - map (cmd_flags,type) to hardware queue
100100
* @q: request queue
101101
* @flags: request command flags
102-
* @cpu: cpu ctx
102+
* @ctx: software queue cpu ctx
103103
*/
104104
static inline struct blk_mq_hw_ctx *blk_mq_map_queue(struct request_queue *q,
105105
unsigned int flags,

0 commit comments

Comments
 (0)