lpfc: Fix rport leak.
authorJames Smart <james.smart@avagotech.com>
Thu, 21 May 2015 17:55:28 +0000 (13:55 -0400)
committerJames Bottomley <JBottomley@Odin.com>
Sat, 6 Jun 2015 05:40:19 +0000 (22:40 -0700)
commit466e840b7809e00ab3a1af9b4a5b5751e681730d
tree149a3be013344fda727df0f00086b77d5b0bc07b
parente5abba4c6aa7f094d32c0115193516697da60df8
lpfc: Fix rport leak.

Correct locking and refcounting in tracking our rports

Signed-off-by: Dick Kennedy <dick.kennedy@avagotech.com>
Signed-off-by: James Smart <james.smart@avagotech.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/lpfc/lpfc_disc.h
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_hbadisc.c