Skip to content
Commit 377c1918 authored by Sagi Grimberg's avatar Sagi Grimberg Committed by Paul Gortmaker
Browse files

nvme: fix regression upon hot device removal and insertion



commit 420dc733 upstream.

When we validate the new controller id, we want to skip
controllers that are either deleting or dead. Fix the check
to do that and not on the newly added controller.

Fixes: 1b1031ca ("nvme: validate cntlid during controller initialisation")
Reported-by: default avatarJon Derrick <jonathan.derrick@intel.com>
Tested-by: default avatarJon Derrick <jonathan.derrick@intel.com>
Signed-off-by: default avatarSagi Grimberg <sagi@grimberg.me>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 1006c965
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment