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

Christoph Hellwig hch at lst.de
Fri Apr 9 06:39:47 BST 2021


On Fri, Apr 09, 2021 at 02:46:45AM +0000, Chaitanya Kulkarni wrote:
> 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.

It is really to be symmetric to the put case.



More information about the Linux-nvme mailing list