Re: [PATCH 3/4] nvme: check for duplicate identifiers earlier

Chaitanya Kulkarni
2022-02-24T22:52:46Z

On 2/24/22 11:28, Christoph Hellwig wrote:
> Lift the check for duplicate identifiers into nvme_init_ns_head, which
> avoids pointless error unwinding in case they don't match, and also
> matches where we check identifier validity for the multipath case.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
> drivers/nvme/host/core.c | 13 ++++++-------
> 1 file changed, 6 insertions(+), 7 deletions(-)
>

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>