diff options
author | Luis Chamberlain <[email protected]> | 2021-11-03 16:04:28 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-11-04 05:48:50 -0600 |
commit | accf58afb689f81daadde24080ea1164ad2db75f (patch) | |
tree | bb9612c45556edc74e36a1a61ebffe65f593fc3f /tools/perf/util/trace-event-scripting.c | |
parent | dc104f4bb2d0a652dee010e47bc89c1ad2ab37c9 (diff) |
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 <[email protected]>
Signed-off-by: Luis Chamberlain <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions