[PATCH] nvme: Cleanup per-namespace chardev deletion
Christoph Hellwig
hch at lst.de
Wed Oct 13 23:04:22 PDT 2021
On Wed, Oct 13, 2021 at 03:04:19PM +0000, Adam Manzanares wrote:
> Decrease reference count of chardevice during char device deletion in order to
> fix a kmemleak. Add relese function for the device associated chardev and moved
> ida_simple_remove into the release function.
>
> Fixes: 2637bae (nvme: introduce generic per-namespace chardev)
> Reported-by: Yi Zhang <yi.zhang at redhat.com>
> Suggested-by: Sagi Grimberg <sagi at grimberg.me>
> Signed-off-by: Adam Manzanares <a.manzanares at samsung.com>
This looks good, but the subject seems wrong. This isn't a cleanup
but a fix. I can fix up the subject when applying it.
More information about the Linux-nvme
mailing list