From: James Smart Date: Fri, 22 May 2015 14:42:37 +0000 (-0400) Subject: lpfc: Devices are not discovered during takeaway/giveback testing X-Git-Tag: omap-for-v4.3/legacy-v2-signed~180^2~13 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=953ceeda97ddfed2c6e0bea3706257d57197f269;p=pandora-kernel.git lpfc: Devices are not discovered during takeaway/giveback testing When a remote nport changes it's DID, a new ndlp is used. However, we left the old ndlp state unchanged and still in a discovery state. The may stall discovery resulting in some devices not being discovered. Correct by swapping the state of the 2 ndlp's when a DID swap is detected. Signed-off-by: Dick Kennedy Signed-off-by: James Smart Reviewed-by: Hannes Reinecke Signed-off-by: James Bottomley --- Reading git-diff-tree failed