[PATCH v3 1/2] nvme: add nvme_get_ns_head()
Christoph Hellwig
hch at lst.de
Mon Jul 13 05:06:18 PDT 2026
On Mon, Jul 13, 2026 at 10:42:37AM +0000, John Garry wrote:
> From: John Garry <john.garry at linux.dev>
>
> Add a wrapper for getting a reference to the NS head.
>
> This would be used in scenarios when we know that getting a reference
> would not fail.
Looks good:
Reviewed-by: Christoph Hellwig <hch at lst.de>
and I didn't realize we already did the unchecked tryget before your
patch. Good to have this fixed, though.
More information about the Linux-nvme
mailing list