diff options
| author | Luis Chamberlain <[email protected]> | 2021-09-27 15:02:58 -0700 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-10-18 14:41:37 -0600 |
| commit | 625a28a7e60c7c026e4d2929c49c8461fad4b0f3 (patch) | |
| tree | 0b2658f44892ecdb65b5d9198c13024c6bf8f097 /tools/perf/scripts/python | |
| parent | 9ef41effb9b65088053e31c741c2a1ec97190117 (diff) | |
swim: 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.
Since we have a caller to do our unwinding for the disk,
and this is already dealt with safely we can re-use our
existing error path goto label which already deals with
the cleanup.
Signed-off-by: Luis Chamberlain <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions