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

Christoph Hellwig hch at lst.de
Wed Nov 3 09:06:51 PDT 2021


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 at lst.de>



More information about the linux-mtd mailing list