summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-01-23 20:01:28 +0300
committerJens Axboe <axboe@kernel.dk>2020-01-23 21:40:01 +0300
commit50246693f81fe887f4db78bf7089051d7f1894cc (patch)
treeb0ad1f8d4099ea59194c6efea8fd38806ce6a83c /tools/perf/scripts/python/export-to-postgresql.py
parenta702a692cd7559053ea573f4e2c84828f0e62824 (diff)
downloadlinux-50246693f81fe887f4db78bf7089051d7f1894cc.tar.xz
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 <hch@lst.de> Signed-off-by: Coly Li <colyli@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions