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 /block/blk.h | |
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 'block/blk.h')
-rw-r--r-- | block/blk.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/block/blk.h b/block/blk.h index 0184a31fe4df..0114fd92c8a0 100644 --- a/block/blk.h +++ b/block/blk.h @@ -220,8 +220,7 @@ ssize_t part_timeout_show(struct device *, struct device_attribute *, char *); ssize_t part_timeout_store(struct device *, struct device_attribute *, const char *, size_t); -void __blk_queue_split(struct request_queue *q, struct bio **bio, - unsigned int *nr_segs); +void __blk_queue_split(struct bio **bio, unsigned int *nr_segs); int ll_back_merge_fn(struct request *req, struct bio *bio, unsigned int nr_segs); int ll_front_merge_fn(struct request *req, struct bio *bio, |