[PATCH v2 06/13] nvdimm/pmem: cleanup the disk if pmem_release_disk() is yet assigned
Christoph Hellwig
hch at lst.de
Wed Nov 3 09:06:35 PDT 2021
On Wed, Nov 03, 2021 at 05:21:50AM -0700, Luis Chamberlain wrote:
> Prior to devm being able to use pmem_release_disk() there are other
> failure which can occur for which we must account for and release the
> disk for. Address those few cases.
>
> Fixes: 3dd60fb9d95d ("nvdimm/pmem: stop using q_usage_count as external pgmap refcount")
> Signed-off-by: Luis Chamberlain <mcgrof at kernel.org>
Looks good,
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the linux-mtd
mailing list