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/[email protected]
The same issue appears here:
https://lkml.kernel.org/r/[email protected]
Patch is also available at:
https://github.com/stancheff/linux.git
branch: v4.7-rc2+bio_put
Cc: Christoph Hellwig <[email protected]>
Cc: [email protected]
cc: David Drysdale <[email protected]>
Cc: Xiong Zhou <[email protected]>
Cc: Stephen Rothwell <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Christoph Hellwig <[email protected]>
Cc: Larry Finger <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: LKML <[email protected]>,
Cc: Jens Axboe <[email protected]>,
Cc: [email protected]
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