diff options
author | Logan Gunthorpe <logang@deltatee.com> | 2022-04-07 10:57:07 -0600 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2022-04-25 14:00:36 -0700 |
commit | 8fbcba6b999beb9fd0b95cd2efe00a1215e36406 (patch) | |
tree | 1407cad0fb3f92970af5cfb04a89e66fc65c542e /drivers/nvme | |
parent | 92d9aac92b7cc92c770e736c70c3acae7b803278 (diff) | |
download | linux-8fbcba6b999beb9fd0b95cd2efe00a1215e36406.tar.bz2 |
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 <logang@deltatee.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'drivers/nvme')
0 files changed, 0 insertions, 0 deletions