diff options
author | Christoph Hellwig <[email protected]> | 2021-09-01 13:38:33 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-10-18 14:50:23 -0600 |
commit | 7ad1069166c0ccdd572d27e01cc7f7f84477df1e (patch) | |
tree | 0d1aca1a632d10208555d4212f5af9d30fef4ef7 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 94f3cd7d832c28681f1dea54b4dd8606e5e2bc75 (diff) |
md: properly unwind when failing to add the kobject in md_alloc
Add proper error handling to delete the gendisk when failing to add
the md kobject and clean up the error unwinding in general.
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions