[PATCH 13/13] nvme: introduce generic per-namespace chardev
Christoph Hellwig
hch at lst.de
Fri Apr 9 15:35:20 BST 2021
On Fri, Apr 09, 2021 at 08:29:27AM -0600, Keith Busch wrote:
> Right, my mistake.
>
> In that case, there needs to be a ida_simple_remove() after the
> cdev_device_del() so we don't leak the ida.
Yes, I actually noticed that while I looked into your idea. As of
this morning my local tree has a helper that does the cdev_device_del
and the ida_simple_remove in one go.
More information about the Linux-nvme
mailing list