This fixes a memory leak reported by a few people in 4.7-rc1 kmemleak report after 9082e87bfbf8 ("block: remove struct bio_batch") This patch just formalizes the one in this discussion here: https://lkml.kernel.org/r/20160606112620.GA29910@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx The same issue appears here: https://lkml.kernel.org/r/20160607102651.GA6480@xxxxxxxxxxxxxxxxxxxxxxxxx Patch is also available at: https://github.com/stancheff/linux.git branch: v4.7-rc2+bio_put Cc: Christoph Hellwig <hch@xxxxxx> Cc: axboe@xxxxxxxxx cc: David Drysdale <drysdale@xxxxxxxxxx> Cc: Xiong Zhou <xzhou@xxxxxxxxxx> Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Cc: linux-next@xxxxxxxxxxxxxxx Cc: linux-nvdimm@xxxxxxxxxxx Cc: Christoph Hellwig <hch@xxxxxx> Cc: Larry Finger <Larry.Finger@xxxxxxxxxxxx> Cc: Catalin Marinas <catalin.marinas@xxxxxxx> Cc: LKML <linux-kernel@xxxxxxxxxxxxxxx>, Cc: Jens Axboe <axboe@xxxxxx>, Cc: bart.vanassche@xxxxxxxxxxx Shaun Tancheff (1): Missing bio_put following submit_bio_wait block/blk-lib.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) -- 2.8.1 -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html