Return-Path: From: Shaun Tancheff To: linux-block@vger.kernel.org Cc: Shaun Tancheff , Christoph Hellwig , axboe@kernel.dk, David Drysdale , Xiong Zhou , Stephen Rothwell , linux-next@vger.kernel.org, linux-nvdimm@ml01.01.org, Larry Finger , Catalin Marinas , LKML , Jens Axboe , bart.vanassche@sandisk.com Subject: [PATCH] Fix reported kmemleak Date: Tue, 7 Jun 2016 11:23:30 -0500 Message-Id: <1465316612-9649-1-git-send-email-shaun@tancheff.com> List-ID: 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@e104818-lin.cambridge.arm.com The same issue appears here: https://lkml.kernel.org/r/20160607102651.GA6480@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 Cc: axboe@kernel.dk cc: David Drysdale Cc: Xiong Zhou Cc: Stephen Rothwell Cc: linux-next@vger.kernel.org Cc: linux-nvdimm@ml01.01.org Cc: Christoph Hellwig Cc: Larry Finger Cc: Catalin Marinas Cc: LKML , Cc: Jens Axboe , Cc: bart.vanassche@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