diff options
author | Swen Schillig <swen@vnet.ibm.com> | 2010-06-21 10:11:31 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-21 15:05:06 -0700 |
commit | 30b6777b8931afc5f3aa42858fe917938b570f79 (patch) | |
tree | 3c877277f0b9919a1a22379d991cd10ca1982936 /drivers/s390 | |
parent | 5adcbeb34d2a031d3baca227eef23e56734006ba (diff) | |
download | linux-3.10-30b6777b8931afc5f3aa42858fe917938b570f79.tar.gz linux-3.10-30b6777b8931afc5f3aa42858fe917938b570f79.tar.bz2 linux-3.10-30b6777b8931afc5f3aa42858fe917938b570f79.zip |
[SCSI] zfcp: Fix check whether unchained ct_els is possible
A false check was performed whether an unchained ct_els
is possible or not.
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@suse.de>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/scsi/zfcp_fsf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/scsi/zfcp_fsf.c b/drivers/s390/scsi/zfcp_fsf.c index 9ac6a6e4a60..4e15361a83b 100644 --- a/drivers/s390/scsi/zfcp_fsf.c +++ b/drivers/s390/scsi/zfcp_fsf.c @@ -981,7 +981,7 @@ static int zfcp_fsf_setup_ct_els_sbals(struct zfcp_fsf_req *req, } /* use single, unchained SBAL if it can hold the request */ - if (zfcp_qdio_sg_one_sbale(sg_req) || zfcp_qdio_sg_one_sbale(sg_resp)) { + if (zfcp_qdio_sg_one_sbale(sg_req) && zfcp_qdio_sg_one_sbale(sg_resp)) { zfcp_fsf_setup_ct_els_unchained(adapter->qdio, &req->qdio_req, sg_req, sg_resp); return 0; |