[dm-devel] [PATCH 4/5] block: turn bio_kmalloc into a simple kmalloc wrapper

Mike Snitzer snitzer at kernel.org
Wed Apr 13 17:04:25 UTC 2022


On Wed, Apr 06 2022 at  2:12P -0400,
Christoph Hellwig <hch at lst.de> wrote:

> 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 at lst.de>

Acked-by: Mike Snitzer <snitzer at kernel.org>



More information about the dm-devel mailing list