[SCSI] zfcp: Fix reference counter for remote ports
commit9528539cc2d506aa232b0d93881ac4d19738752f
authorSwen Schillig <swen@vnet.ibm.com>
Thu, 21 Aug 2008 11:43:35 +0000 (21 13:43 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 29 Aug 2008 14:04:35 +0000 (29 09:04 -0500)
tree5f14bde1d4798c281a6fb587d8fce0c0a16dab5d
parentf48bf7fb00f74d93105ba69522a3f6c9435d6af3
[SCSI] zfcp: Fix reference counter for remote ports

Fix the remote port reference counter handling during ELS ADISC
commands and find the remote port by WWPN not by D_IDs that could
change.

Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/s390/scsi/zfcp_fc.c