summaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorSwen Schillig <swen@vnet.ibm.com>2009-04-17 15:08:07 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-04-27 10:07:29 -0500
commitd81ad31c6cf4e318e6b94c959bd9a56ca440b279 (patch)
treeea68fd116c296b57b37268bb698a6243624b97e4 /drivers/s390
parent94ab4b38b2ab35a8ca955f4821c970a0ed7ec9ec (diff)
downloadop-kernel-dev-d81ad31c6cf4e318e6b94c959bd9a56ca440b279.zip
op-kernel-dev-d81ad31c6cf4e318e6b94c959bd9a56ca440b279.tar.gz
[SCSI] zfcp: no port recovery after storage side error inject
The remote port remains in error state even if the connection is re-established. A wrong precondition check was performed on the port status leading to a cancellation of the port reopen. Remove the pre-req check because it's not required and better handled within the ERP. 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>
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/scsi/zfcp_fc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/s390/scsi/zfcp_fc.c b/drivers/s390/scsi/zfcp_fc.c
index 5d42929..a0f9250 100644
--- a/drivers/s390/scsi/zfcp_fc.c
+++ b/drivers/s390/scsi/zfcp_fc.c
@@ -432,11 +432,6 @@ void zfcp_fc_link_test_work(struct work_struct *work)
container_of(work, struct zfcp_port, test_link_work);
int retval;
- if (!(atomic_read(&port->status) & ZFCP_STATUS_COMMON_UNBLOCKED)) {
- zfcp_port_put(port);
- return; /* port erp is running and will update rport status */
- }
-
zfcp_port_get(port);
port->rport_task = RPORT_DEL;
zfcp_scsi_rport_work(&port->rport_work);
OpenPOWER on IntegriCloud