Re: [PATCH v2 07/13] nvdimm/pmem: use add_disk() error handling
From: Christoph Hellwig <hch@lst.de>
Date: 2021-11-03 16:06:57
Also in:
linux-block, linux-scsi, lkml
From: Christoph Hellwig <hch@lst.de>
Date: 2021-11-03 16:06:57
Also in:
linux-block, linux-scsi, lkml
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@lst.de>