scsi: lpfc: Fix nvme io stoppage after link bounce
authorJames Smart <jsmart2021@gmail.com>
Wed, 21 Jun 2017 17:37:58 +0000 (10:37 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 26 Jun 2017 19:01:00 +0000 (15:01 -0400)
commit00cefeb964f525672b5344446e5bb72188b03e38
tree7cc033a93642828c4fa464e3201f9c6479b2f8d8
parente72c9a2a67a6400c8ef3d01d4c461dbbbfa0e1f0
scsi: lpfc: Fix nvme io stoppage after link bounce

On link down, transport is calling driver to abort outstanding ios.
Driver erroneously rejects the abort if the port indicates it isn't
logged in - which will be the case after the link down. Thus, the io
can't clean up. This prevents reconnection at the transport level.

Fix by allowing abort to proceed.

Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_nvme.c