diff options
author | Swen Schillig <swen@vnet.ibm.com> | 2009-03-02 07:09:07 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-03-12 13:58:21 -0400 |
commit | 24095490681d130979c18685dc0b5a308057e225 (patch) | |
tree | c832def98ffbecfc75794370111998b4206e215d /drivers/s390/scsi/zfcp_fsf.c | |
parent | 21ddaa53f92dba820a3778978e617f20ecb6ab6f (diff) |
[SCSI] zfcp: incorrect reaction on incoming RSCN
After an error condition resolved a remote storage port was never
re-opened. The incoming RSCN was not processed accordingly due
to a misinterpreted status flag / return value combination.
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/scsi/zfcp_fsf.c')
-rw-r--r-- | drivers/s390/scsi/zfcp_fsf.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/s390/scsi/zfcp_fsf.c b/drivers/s390/scsi/zfcp_fsf.c index b4c9ba085093..71c32f3ffcb7 100644 --- a/drivers/s390/scsi/zfcp_fsf.c +++ b/drivers/s390/scsi/zfcp_fsf.c | |||
@@ -1161,10 +1161,6 @@ int zfcp_fsf_send_els(struct zfcp_send_els *els) | |||
1161 | struct fsf_qtcb_bottom_support *bottom; | 1161 | struct fsf_qtcb_bottom_support *bottom; |
1162 | int ret = -EIO; | 1162 | int ret = -EIO; |
1163 | 1163 | ||
1164 | if (unlikely(!(atomic_read(&els->port->status) & | ||
1165 | ZFCP_STATUS_COMMON_UNBLOCKED))) | ||
1166 | return -EBUSY; | ||
1167 | |||
1168 | spin_lock_bh(&adapter->req_q_lock); | 1164 | spin_lock_bh(&adapter->req_q_lock); |
1169 | if (zfcp_fsf_req_sbal_get(adapter)) | 1165 | if (zfcp_fsf_req_sbal_get(adapter)) |
1170 | goto out; | 1166 | goto out; |