From: Christoph Hellwig <hch@lst.de>
To: John Garry <john.g.garry@oracle.com>
Cc: hch@lst.de, kbusch@kernel.org, sagi@grimberg.me, axboe@fb.com,
linux-nvme@lists.infradead.org, John Garry <john.garry@linux.dev>
Subject: Re: [PATCH v3 1/2] nvme: add nvme_get_ns_head()
Date: Mon, 13 Jul 2026 14:06:18 +0200 [thread overview]
Message-ID: <20260713120618.GC19607@lst.de> (raw)
In-Reply-To: <20260713104238.3034640-2-john.g.garry@oracle.com>
On Mon, Jul 13, 2026 at 10:42:37AM +0000, John Garry wrote:
> From: John Garry <john.garry@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@lst.de>
and I didn't realize we already did the unchecked tryget before your
patch. Good to have this fixed, though.
next prev parent reply other threads:[~2026-07-13 12:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-13 10:42 [PATCH v3 0/2] nvme: fix cdev lifetime series John Garry
2026-07-13 10:42 ` [PATCH v3 1/2] nvme: add nvme_get_ns_head() John Garry
2026-07-13 12:06 ` Christoph Hellwig [this message]
2026-07-13 10:42 ` [PATCH v3 2/2] nvme: fix cdev lifetime John Garry
2026-07-13 12:06 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260713120618.GC19607@lst.de \
--to=hch@lst.de \
--cc=axboe@fb.com \
--cc=john.g.garry@oracle.com \
--cc=john.garry@linux.dev \
--cc=kbusch@kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=sagi@grimberg.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.