diff options
author | Shaun Tancheff <[email protected]> | 2016-06-07 11:32:13 -0500 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2016-06-07 10:47:48 -0600 |
commit | 05bd92dddc595d74ea645e793c1f3bd4b1fc251a (patch) | |
tree | 4495eb3d9de4c5d24fa38fb972c2038079d797f5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 87c279e613f848c691111b29d49de8df3f4f56da (diff) |
block: missing bio_put following submit_bio_wait
submit_bio_wait() gives the caller an opportunity to examine
struct bio and so expects the caller to issue the put_bio()
This fixes a memory leak reported by a few people in 4.7-rc2
kmemleak report after 9082e87bfbf8 ("block: remove struct bio_batch")
Signed-off-by: Shaun Tancheff <[email protected]>
Tested-by: Catalin Marinas <[email protected]>
Tested-by: Larry [email protected]
Tested-by: David Drysdale <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions