lpfc: Correct loss of target discovery after cable swap.
authorJames Smart <james.smart@avagotech.com>
Thu, 21 May 2015 17:55:17 +0000 (13:55 -0400)
committerJames Bottomley <JBottomley@Odin.com>
Fri, 5 Jun 2015 22:28:52 +0000 (15:28 -0700)
commit0290217ad830f2813bb9ed5f51af686c0c591f28
treef9b35fcc7ff24908b35847b4800ffbaf1e375636
parente26422fe91e533cb0a51f5f5bf80856d40592e0d
lpfc: Correct loss of target discovery after cable swap.

Fix incorrect reference counting

Signed-off-by: Dick Kennedy <dick.kennedy@avagotech.com>
Signed-off-by: James Smart <james.smart@avagotech.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/lpfc/lpfc_hbadisc.c