Thread (31 messages) 31 messages, 2 authors, 2021-08-30

Re: [PATCH 07/10] md: add error handling support for add_disk()

From: Christoph Hellwig <hch@infradead.org>
Date: 2021-08-24 06:18:45
Also in: dm-devel, linux-block, linux-nvme, linux-scsi, lkml

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@kernel.org>
Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help