[PATCH 09/13] nvme: factor out a nvme_tryget_ns_head helper

Chaitanya Kulkarni Chaitanya.Kulkarni at wdc.com
Fri Apr 9 03:46:45 BST 2021


On 4/8/21 05:35, Christoph Hellwig wrote:
> Add a helper to avoid opencoding ns_head->ref manipulations.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Should we wait to have a second user for this ? unless it is there
in next patches in this series.

In any case, looks good.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>





More information about the Linux-nvme mailing list