diff options
author | Christoph Hellwig <hch@lst.de> | 2022-04-06 08:12:27 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-18 03:30:41 +0200 |
commit | 066ff571011d8416e903d3d4f1f41e0b5eb91e1d (patch) | |
tree | 749f3f28b12204c02e223ec27318d5a231eede0f /virt/Makefile | |
parent | target/pscsi: remove pscsi_get_bio (diff) | |
download | linux-066ff571011d8416e903d3d4f1f41e0b5eb91e1d.tar.xz linux-066ff571011d8416e903d3d4f1f41e0b5eb91e1d.zip |
block: turn bio_kmalloc into a simple kmalloc wrapper
Remove the magic autofree semantics and require the callers to explicitly
call bio_init to initialize the bio.
This allows bio_free to catch accidental bio_put calls on bio_init()ed
bios as well.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Coly Li <colyli@suse.de>
Acked-by: Mike Snitzer <snitzer@kernel.org>
Link: https://lore.kernel.org/r/20220406061228.410163-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'virt/Makefile')
0 files changed, 0 insertions, 0 deletions