OSDN Git Service

block: Rename a blk_mq_map_queue() argument
authorBart Van Assche <bvanassche@acm.org>
Wed, 15 Jun 2022 22:55:48 +0000 (15:55 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 27 Jun 2022 12:29:11 +0000 (06:29 -0600)
commit7e923f40a4d229bd9573d6cae64479d6a9770fc3
tree9e568c1f30c76725eb0f0ff3ccf81ffe75b04a50
parent62c159a03da92121b1b909fd8039028de97885fc
block: Rename a blk_mq_map_queue() argument

Before the introduction of blk_mq_get_hctx_type(), blk_mq_map_queue()
only used the flags from its second argument. Since the introduction of
blk_mq_get_hctx_type(), blk_mq_map_queue() uses both the operation and
the flags encoded in that argument. Rename the second argument of
blk_mq_map_queue() to make this clear.

Cc: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220615225549.1054905-3-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.h