scsi: qla2xxx: Fix path recovery
authorQuinn Tran <quinn.tran@cavium.com>
Fri, 2 Jun 2017 16:11:56 +0000 (09:11 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Jun 2017 00:48:07 +0000 (20:48 -0400)
commit66ee0fece9a0b91f59a7eb8dd39808a0ef5db02b
treef14bd481fee7748119396f090182d6a45d8ae6de
parent383a298b2065a6f39f4ab2c33d84620ccad578f9
scsi: qla2xxx: Fix path recovery

If the port is moved/changed, current code would trigger
a deletion. If the port is already deleted, then do relogin.

Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Reviewed-by: Bart Van Assche <Bart.VanAssche@sandisk.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_gs.c