OSDN Git Service

blk-mq: remove the request_queue argument to blk_insert_cloned_request
authorChristoph Hellwig <hch@lst.de>
Tue, 15 Feb 2022 10:05:38 +0000 (11:05 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 17 Feb 2022 02:39:10 +0000 (19:39 -0700)
commit28db4711bf48303814dcfd8d41a41106e90bc374
tree706d5e19352c20782099d0ba838f4a7c1391bc2e
parenta5efda3c46a1db9a579d953667906933d5037bf9
blk-mq: remove the request_queue argument to blk_insert_cloned_request

The request must be submitted to the queue it was allocated for, so
remove the extra request_queue argument.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Link: https://lore.kernel.org/r/20220215100540.3892965-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
drivers/md/dm-rq.c
include/linux/blk-mq.h