[SCSI] zfcp: Fix wka port processing
authorSwen Schillig <swen@vnet.ibm.com>
Mon, 13 Jul 2009 13:06:13 +0000 (15:06 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 30 Jul 2009 13:49:58 +0000 (08:49 -0500)
commit27f492ccec94b6acd8440c83bfe0515ce4db0af0
treee920153d2eca6d83659b4fd1cbfcdbd71bb976b6
parent17a093ef018481ee1760da19568bad3c11da395d
[SCSI] zfcp: Fix wka port processing

Under certain conditions it is possible that a WKA port ist not opened
within the expected timeframe of half a second. In this situation
the WKA port remains in the state OPENING preventing any succeding
request to open the port. This led to unrecoverable remote ports.
Fixing this by always setting an appropriate WKA port status before
leaving the function and removing the timeout value here since it's
not needed here because the general timeout processing would deal
with it if required.

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
drivers/s390/scsi/zfcp_fsf.c