[PATCH 07/10] md: add error handling support for add_disk()
Christoph Hellwig
hch at infradead.org
Mon Aug 23 23:15:56 PDT 2021
On Mon, Aug 23, 2021 at 01:29:27PM -0700, Luis Chamberlain wrote:
> We never checked for errors on add_disk() as this function
> returned void. Now that this is fixed, use the shiny new
> error handling.
>
> We just do the unwinding of what was not done before, and are
> sure to unlock prior to bailing.
>
> Signed-off-by: Luis Chamberlain <mcgrof at kernel.org>
Looks good,
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the Linux-nvme
mailing list