[SCSI] zfcp: fix wrong handling of failed requests for GID_PN command
authorAndreas Herrmann <aherrman@de.ibm.com>
Mon, 13 Jun 2005 11:13:45 +0000 (13:13 +0200)
committerJames Bottomley <jejb@mulgrave.(none)>
Tue, 14 Jun 2005 02:23:37 +0000 (21:23 -0500)
commit66c8684abf80a9999392d639627afea80ac62e06
tree7c6aec32754b0fba3986289263a8bd85a6ea1b77
parentd6cbbad7296538b6a38c0fe36e6ecf67f1e600a7
[SCSI] zfcp: fix wrong handling of failed requests for GID_PN command

Fixes the handling of failed requests for GID_PN nameserver command:
Set ZFCP_STATUS_PORT_INVALID_WWPN only if indicated by response
payload for GID_PN nameserver command and not if fsf request fails.

Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/s390/scsi/zfcp_aux.c