]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita11d700520e2792d32ed0843d01c02b1170125ad
tree9e568c1f30c76725eb0f0ff3ccf81ffe75b04a50
parent519aa74210ddb75446aacdba8bff0dffa2055a12
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