diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-01 10:59:39 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-01 15:27:23 +0200 |
commit | f695ca3886ce72b027af7aa6040cd420cae2088c (patch) | |
tree | d1b933667a0a5680809554baf207e5aca90a790a /drivers/md/md.c | |
parent | fs: remove a weird comment in submit_bh_wbc (diff) | |
download | linux-f695ca3886ce72b027af7aa6040cd420cae2088c.tar.xz linux-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 <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r-- | drivers/md/md.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index f567f536b529..ff20868e5e1b 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -475,7 +475,7 @@ static blk_qc_t md_make_request(struct request_queue *q, struct bio *bio) return BLK_QC_T_NONE; } - blk_queue_split(q, &bio); + blk_queue_split(&bio); if (mddev == NULL || mddev->pers == NULL) { bio_io_error(bio); |