[PATCH 1/2] nvme: Take refcount on transport module when using block device operations
Minwoo Im
minwoo.im.dev at gmail.com
Mon Jan 8 07:51:11 PST 2018
Hi Max,
On Fri, Jan 5, 2018 at 12:56 AM, Max Gurtovoy <maxg at mellanox.com> wrote:
> + kref_put(&ns->kref, nvme_free_ns);
This seems identical to nvme_put_ns(ns);
It would look better if replaced with nvme_put_ns() function call just
like nvme_release()
that you have updated in this patch.
Thanks,
More information about the Linux-nvme
mailing list