[dm-devel] [PATCH] virtio-blk: put request that was created to retrieve the device id

Christoph Hellwig hch at infradead.org
Tue Sep 21 21:00:33 UTC 2010


On Fri, Sep 17, 2010 at 09:58:48AM -0500, Ryan Harper wrote:
> Since __bio_map_kern() sets up bio->bi_end_io = bio_map_kern_endio
> (which does a bio_put(bio)) doesn't that ensure we don't leak?

Indeed, that should take care of it.




More information about the dm-devel mailing list