aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorAdam Manzanares <[email protected]>2021-10-13 15:04:19 +0000
committerChristoph Hellwig <[email protected]>2021-10-14 08:07:47 +0200
commitbe5eb933542629ad6a7d4c92097b1b472b1612d0 (patch)
tree10f011cf9460d5e6b4051493750d9214e30a0b45 /lib/test_overflow.c
parent85f74acf097a63a07f5a7c215db6883e5c35e3ff (diff)
nvme: fix per-namespace chardev deletion
Decrease reference count of chardevice during char device deletion in order to fix a memory leak. Add a release callabck for the device associated chardev and move ida_simple_remove into the release function. Fixes: 2637baed7801 ("nvme: introduce generic per-namespace chardev") Reported-by: Yi Zhang <[email protected]> Suggested-by: Sagi Grimberg <[email protected]> Signed-off-by: Adam Manzanares <[email protected]> Reviewed-by: Javier González <[email protected]> Tested-by: Yi Zhang <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions