]> err.no Git - linux-2.6/commit
[SCSI] zfcp: Correctly query end flag in gpn_ft response
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Thu, 21 Aug 2008 11:43:33 +0000 (13:43 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 29 Aug 2008 14:03:56 +0000 (09:03 -0500)
commit47f7bba52b01dd881fbd17b4b50c89ecf186eee2
tree9587e2d4d69c54861659bfd2132ccecf81aadc52
parentd4538817287e56abc938900886301a5bdfafbfcd
[SCSI] zfcp: Correctly query end flag in gpn_ft response

When the last port entry in the gpn_ft response is already a known
port, the eval function would skip the end flag and try to attach
ports with wwpn 0. Fix this by checking the flag first.

Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: Martin Petermann <martin@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/s390/scsi/zfcp_fc.c