summaryrefslogtreecommitdiff
path: root/.cocciconfig
diff options
context:
space:
mode:
authorLuis Chamberlain <mcgrof@kernel.org>2021-11-04 02:04:28 +0300
committerJens Axboe <axboe@kernel.dk>2021-11-04 14:48:50 +0300
commitaccf58afb689f81daadde24080ea1164ad2db75f (patch)
treebb9612c45556edc74e36a1a61ebffe65f593fc3f /.cocciconfig
parentdc104f4bb2d0a652dee010e47bc89c1ad2ab37c9 (diff)
downloadlinux-accf58afb689f81daadde24080ea1164ad2db75f.tar.xz
nvdimm/pmem: cleanup the disk if pmem_release_disk() is yet assigned
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") Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org> Link: https://lore.kernel.org/r/20211103230437.1639990-6-mcgrof@kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions