aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2022-11-14 05:26:35 +0100
committerJens Axboe <[email protected]>2022-11-30 11:09:00 -0700
commit40602997be26887bdfa3d58659c3acb4579099e9 (patch)
tree4b65cfc7b239f56480cc4075787528b5ed3e25d4 /tools/perf/scripts/python/export-to-sqlite.py
parent6fc75f309d291d328b4ea2f91bef0ff56e4bc7c2 (diff)
block: fix error unwinding in blk_register_queue
blk_register_queue fails to handle errors from blk_mq_sysfs_register, leaks various resources on errors and accidentally sets queue refs percpu refcount to percpu mode on kobject_add failure. Fix all that by properly unwinding on errors. Signed-off-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[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