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.ga29...@e104818-lin.cambridge.arm.com

The same issue appears here:
https://lkml.kernel.org/r/20160607102651.ga6...@dhcp12-144.nay.redhat.com

Patch is also available at:

https://github.com/stancheff/linux.git
branch: v4.7-rc2+bio_put

Cc: Christoph Hellwig <h...@lst.de>
Cc: ax...@kernel.dk
cc: David Drysdale <drysd...@google.com>
Cc: Xiong Zhou <xz...@redhat.com>
Cc: Stephen Rothwell <s...@canb.auug.org.au>
Cc: linux-n...@vger.kernel.org
Cc: linux-nvd...@ml01.01.org
Cc: Christoph Hellwig <h...@lst.de>
Cc: Larry Finger <larry.fin...@lwfinger.net>
Cc: Catalin Marinas <catalin.mari...@arm.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
Cc: Jens Axboe <ax...@fb.com>,
Cc: bart.vanass...@sandisk.com

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

Reply via email to