summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorShaun Tancheff <shaun@tancheff.com>2016-06-07 11:32:13 -0500
committerJens Axboe <axboe@fb.com>2016-06-07 10:47:48 -0600
commit05bd92dddc595d74ea645e793c1f3bd4b1fc251a (patch)
tree4495eb3d9de4c5d24fa38fb972c2038079d797f5 /include
parent87c279e613f848c691111b29d49de8df3f4f56da (diff)
downloadlinux-05bd92dddc595d74ea645e793c1f3bd4b1fc251a.tar.gz
linux-05bd92dddc595d74ea645e793c1f3bd4b1fc251a.tar.bz2
linux-05bd92dddc595d74ea645e793c1f3bd4b1fc251a.zip
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 <shaun.tancheff@seagate.com> Tested-by: Catalin Marinas <catalin.marinas@arm.com> Tested-by: Larry Finger@lwfinger.net Tested-by: David Drysdale <drysdale@google.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions