diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-01 11:59:39 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-01 16:27:23 +0300 |
commit | f695ca3886ce72b027af7aa6040cd420cae2088c (patch) | |
tree | d1b933667a0a5680809554baf207e5aca90a790a /drivers/md/dm.c | |
parent | ed9b3196d2b26b5bd3a7e2cd4aec8e389d991fd8 (diff) | |
download | linux-f695ca3886ce72b027af7aa6040cd420cae2088c.tar.xz |
block: remove the request_queue argument from blk_queue_split
The queue can be trivially derived from the bio, so pass one less
argument.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/dm.c')
-rw-r--r-- | drivers/md/dm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index c8d91f271c27..5aa7a604f4cb 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1776,7 +1776,7 @@ static blk_qc_t dm_process_bio(struct mapped_device *md, */ if (current->bio_list) { if (is_abnormal_io(bio)) - blk_queue_split(md->queue, &bio); + blk_queue_split(&bio); else dm_queue_split(md, ti, &bio); } |