diff options
author | Logan Gunthorpe <[email protected]> | 2022-04-07 10:57:07 -0600 |
---|---|---|
committer | Song Liu <[email protected]> | 2022-04-25 14:00:36 -0700 |
commit | 8fbcba6b999beb9fd0b95cd2efe00a1215e36406 (patch) | |
tree | 1407cad0fb3f92970af5cfb04a89e66fc65c542e /tools/perf/scripts/python/sched-migration.py | |
parent | 92d9aac92b7cc92c770e736c70c3acae7b803278 (diff) |
md/raid5: Cleanup setup_conf() error returns
Be more careful about the error returns. Most errors in this function
are actually ENOMEM, but it forcibly returns EIO if conf has been
allocated.
Instead return ret and ensure it is set appropriately before each goto
abort.
Signed-off-by: Logan Gunthorpe <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions