diff options
author | Christoph Hellwig <hch@lst.de> | 2022-02-15 13:05:38 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-02-17 05:39:10 +0300 |
commit | 28db4711bf48303814dcfd8d41a41106e90bc374 (patch) | |
tree | 706d5e19352c20782099d0ba838f4a7c1391bc2e /drivers | |
parent | a5efda3c46a1db9a579d953667906933d5037bf9 (diff) | |
download | linux-28db4711bf48303814dcfd8d41a41106e90bc374.tar.xz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/md/dm-rq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-rq.c b/drivers/md/dm-rq.c index 579ab6183d4d..2fcc9b7f391b 100644 --- a/drivers/md/dm-rq.c +++ b/drivers/md/dm-rq.c @@ -311,7 +311,7 @@ static blk_status_t dm_dispatch_clone_request(struct request *clone, struct requ clone->rq_flags |= RQF_IO_STAT; clone->start_time_ns = ktime_get_ns(); - r = blk_insert_cloned_request(clone->q, clone); + r = blk_insert_cloned_request(clone); if (r != BLK_STS_OK && r != BLK_STS_RESOURCE && r != BLK_STS_DEV_RESOURCE) /* must complete clone in terms of original request */ dm_complete_request(rq, r); |