Re: [PATCH v2] nvmet-fc: skip port entry rebinding if already bound to a target port
From: Nhật Anh Nguyễn Duy
Date: Fri Oct 16 2026 - 12:19:29 EST
Sorry about the noise in the recent patches—I botched staging the diff
before amending. v3 has the actual diff moving the check above
nvmet_fc_tgtport_get().
Regards,
Nhat Anh
On Fri, Oct 16, 2026 at 11:06 PM Keith Busch <kbusch@xxxxxxxxxx> wrote:
>
> On Fri, Oct 16, 2026 at 10:59:47PM +0700, Nguyen Duy Nhat Anh wrote:
> > v1 -> v2:
> > - Move pe->tgtport check before nvmet_fc_tgtport_get() to avoid refcount leak.
>
> You may want to double check before posting new versions because this v2
> is identical to v1.