diff options
author | Christoph Hellwig <hch@lst.de> | 2020-05-29 15:53:08 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-29 10:23:24 -0600 |
commit | 5d9c305b8ea3fbc95bedfde01f7dd91e68082098 (patch) | |
tree | 29fefd8b88e0570c56e907067d281f98679f9e87 /block/blk-mq.c | |
parent | 3382a567efd4015697f087f2e91ac08b90577876 (diff) | |
download | linux-5d9c305b8ea3fbc95bedfde01f7dd91e68082098.tar.gz linux-5d9c305b8ea3fbc95bedfde01f7dd91e68082098.tar.bz2 linux-5d9c305b8ea3fbc95bedfde01f7dd91e68082098.zip |
blk-mq: remove the bio argument to ->prepare_request
None of the I/O schedulers actually needs it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.c')
-rw-r--r-- | block/blk-mq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c index c6dcd390be2d..f15722cbfac6 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -387,7 +387,7 @@ static struct request *blk_mq_get_request(struct request_queue *q, if (e->type->icq_cache) blk_mq_sched_assign_ioc(rq); - e->type->ops.prepare_request(rq, bio); + e->type->ops.prepare_request(rq); rq->rq_flags |= RQF_ELVPRIV; } } |