Re: [PATCH 4/5] block: turn bio_kmalloc into a simple kmalloc wrapper

From: Mike Snitzer
Date: Wed Apr 13 2022 - 13:04:36 EST


On Wed, Apr 06 2022 at 2:12P -0400,
Christoph Hellwig <hch@xxxxxx> 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@xxxxxx>

Acked-by: Mike Snitzer <snitzer@xxxxxxxxxx>