diff options
author | Christoph Hellwig <hch@lst.de> | 2020-05-29 15:53:09 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-29 10:23:24 -0600 |
commit | e6e7abffe386b614a194ec32457a00c304c980f4 (patch) | |
tree | 5d5a7993cf6792d1605d3e58a621aba8d5416762 /crypto | |
parent | 5d9c305b8ea3fbc95bedfde01f7dd91e68082098 (diff) | |
download | kernel_replicant_linux-e6e7abffe386b614a194ec32457a00c304c980f4.tar.gz kernel_replicant_linux-e6e7abffe386b614a194ec32457a00c304c980f4.tar.bz2 kernel_replicant_linux-e6e7abffe386b614a194ec32457a00c304c980f4.zip |
blk-mq: simplify the blk_mq_get_request calling convention
The bio argument is entirely unused, and the request_queue can be passed
through the alloc_data, given that it needs to be filled out for the
low-level tag allocation anyway. Also rename the function to
__blk_mq_alloc_request as the switch between get and alloc in the call
chains is rather confusing.
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 'crypto')
0 files changed, 0 insertions, 0 deletions