Christoph Hellwig 066ff57101 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>
2022-04-17 19:30:41 -06:00
..
2022-03-04 12:29:20 -07:00
2022-04-06 13:07:53 -06:00
2022-03-21 16:48:55 -07:00
2022-03-24 19:37:53 -07:00
2022-04-01 16:26:57 -07:00
2022-01-17 07:19:40 -07:00
2022-03-04 12:29:21 -07:00
2021-12-16 10:57:04 -07:00
2022-04-01 16:26:57 -07:00
2021-12-16 10:57:04 -07:00
2021-11-29 06:38:35 -07:00
2022-02-02 07:49:59 -07:00
2021-11-29 06:38:35 -07:00
2021-11-29 06:38:35 -07:00
2022-03-21 17:16:01 -07:00
2022-04-01 16:26:57 -07:00
2021-11-29 06:38:35 -07:00