Messages in this thread | | | Date | Wed, 13 Apr 2022 13:04:25 -0400 | From | Mike Snitzer <> | Subject | Re: [PATCH 4/5] block: turn bio_kmalloc into a simple kmalloc wrapper |
| |
On Wed, Apr 06 2022 at 2:12P -0400, Christoph Hellwig <hch@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@lst.de>
Acked-by: Mike Snitzer <snitzer@kernel.org>
| |