Re: [PATCH v2 07/13] nvdimm/pmem: use add_disk() error handling

From: Christoph Hellwig
Date: Wed Nov 03 2021 - 12:06:57 EST


On Wed, Nov 03, 2021 at 05:21:51AM -0700, Luis Chamberlain wrote:
> Now that device_add_disk() supports returning an error, use
> that. We must unwind alloc_dax() on error.

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>