aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2017-09-06 14:25:51 +0800
committerJens Axboe <[email protected]>2017-09-06 08:17:33 -0600
commit4b758df21ee7081ab41448d21d60367efaa625b3 (patch)
tree7fe339d622132fd3d83689105f3d946dcfc77a50 /tools/perf/scripts/python/export-to-sqlite.py
parentbc75705d00637c5f7b0346bf63094a9899c3d516 (diff)
bcache: Fix leak of bdev reference
If blkdev_get_by_path() in register_bcache() fails, we try to lookup the block device using lookup_bdev() to detect which situation we are in to properly report error. However we never drop the reference returned to us from lookup_bdev(). Fix that. Signed-off-by: Jan Kara <[email protected]> Acked-by: Coly Li <[email protected]> Cc: [email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions