aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2020-01-24 01:01:28 +0800
committerJens Axboe <[email protected]>2020-01-23 11:40:01 -0700
commit50246693f81fe887f4db78bf7089051d7f1894cc (patch)
treeb0ad1f8d4099ea59194c6efea8fd38806ce6a83c /tools/perf/scripts/python/export-to-sqlite.py
parenta702a692cd7559053ea573f4e2c84828f0e62824 (diff)
bcache: rework error unwinding in register_bcache
Split the successful and error return path, and use one goto label for each resource to unwind. This also fixes some small errors like leaking the module reference count in the reboot case (which seems entirely harmless) or printing the wrong warning messages for early failures. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Coly Li <[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