[PATCH] nvme-multipath: fix double initialization of ANA state

Keith Busch kbusch at kernel.org
Thu May 6 07:51:01 PDT 2021


On Thu, May 06, 2021 at 03:48:23PM +0200, Christoph Hellwig wrote:
> nvme_init_identify and thus nvme_mpath_init can be called multiple
> times and thus must not overwrite potentially initialized or in-use
> fields.  Split out a helper for the basic initialization when the
> controller is initialized and make sure the init_identify path does
> not blindly change in-use data structures.

Looks good.

Reviewed-by: Keith Busch <kbusch at kernel.org>



More information about the Linux-nvme mailing list