aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDavid Sterba <[email protected]>2017-10-30 18:36:08 +0100
committerDavid Sterba <[email protected]>2017-11-15 14:45:26 +0100
commit3065ae5b85654e9141b134bc7b07eb0f2ca7cfcf (patch)
tree80fea504120e32bee7d599cdb4e65a29f41da829 /tools/perf/scripts/python/export-to-postgresql.py
parent5e9f2ad5b2904a7e81df6d9a3dbef29478952eac (diff)
btrfs: add missing device::flush_bio puts
This fixes potential bio leaks, in several error paths. Unfortunatelly the device structure freeing is opencoded in many places and I missed them when introducing the flush_bio. Most of the time, devices get freed through call_rcu(..., free_device), so it at least it's not that easy to hit the leak, but it's still possible through the path that frees stale devices. Fixes: e0ae99941423 ("btrfs: preallocate device flush bio") Reviewed-by: Nikolay Borisov <[email protected]> Reviewed-by: Anand Jain <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions