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

Chaitanya Kulkarni chaitanyak at nvidia.com
Thu Feb 24 14:52:35 PST 2022


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 at lst.de>
> ---
>   drivers/nvme/host/core.c | 13 ++++++-------
>   1 file changed, 6 insertions(+), 7 deletions(-)
> 


Looks good.

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




More information about the Linux-nvme mailing list