[PATCH] nvmet: copy the hostid into the ctrl before creating PR pc_refs

Keith Busch kbusch at kernel.org
Fri Sep 18 08:20:29 PDT 2026


On Wed, Sep 16, 2026 at 07:42:54PM +0800, Guixin Liu wrote:
> Commit 6202783184bf ("nvmet: Improve nvmet_alloc_ctrl() interface and
> implementation") added a second uuid_copy() of args->hostid near the end
> of nvmet_alloc_ctrl(), and commit 7b658153f1b8 ("nvmet: Remove duplicate
> uuid_copy") removed the original copy that sat before
> nvmet_ctrl_init_pr() instead of the new one.

Thanks, applied to nvme-7.3.



More information about the Linux-nvme mailing list