diff options
author | Christoph Hellwig <hch@lst.de> | 2022-01-24 10:11:04 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-02-02 15:49:59 +0100 |
commit | b77c88c2100ce6a5ec8126c13599b5a7f6663e32 (patch) | |
tree | d640ab19bd3e2b3cd8ab50c6a86ef5b2e6bf474f /drivers/block | |
parent | block: pass a block_device and opf to bio_alloc_bioset (diff) | |
download | linux-b77c88c2100ce6a5ec8126c13599b5a7f6663e32.tar.xz linux-b77c88c2100ce6a5ec8126c13599b5a7f6663e32.zip |
block: pass a block_device and opf to bio_alloc_kiocb
Pass the block_device and operation that we plan to use this bio for to
bio_alloc_kiocb to optimize the assigment.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20220124091107.642561-17-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions