diff options
author | 2021-10-15 16:30:23 -0700 | |
---|---|---|
committer | 2021-10-21 09:00:56 -0600 | |
commit | 2961c3bbcaec0ed7fb7b9a465b3796f37f2294e5 (patch) | |
tree | a8d4487ef02b1f98953b673192b4a374ab6455c4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dm: add add_disk() error handling (diff) | |
download | wireguard-linux-2961c3bbcaec0ed7fb7b9a465b3796f37f2294e5.tar.xz wireguard-linux-2961c3bbcaec0ed7fb7b9a465b3796f37f2294e5.zip |
bcache: add error handling support for add_disk()
We never checked for errors on add_disk() as this function
returned void. Now that this is fixed, use the shiny new
error handling.
This driver doesn't do any unwinding with blk_cleanup_disk()
even on errors after add_disk() and so we follow that
tradition.
Acked-by: Coly Li <colyli@suse.de>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/r/20211015233028.2167651-5-mcgrof@kernel.org
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