aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2020-07-01 08:59:39 +0000
committerJens Axboe <[email protected]>2020-07-01 13:27:23 +0000
commitf695ca3886ce72b027af7aa6040cd420cae2088c (patch)
treed1b933667a0a5680809554baf207e5aca90a790a /drivers/md/dm.c
parentfs: remove a weird comment in submit_bh_wbc (diff)
downloadkernel-f695ca3886ce72b027af7aa6040cd420cae2088c.tar.gz
kernel-f695ca3886ce72b027af7aa6040cd420cae2088c.zip
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 <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/md/dm.c')
-rw-r--r--drivers/md/dm.c2
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);
}