projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5adcbeb
)
[SCSI] zfcp: Fix check whether unchained ct_els is possible
author
Swen Schillig
<
[email protected]
>
Mon, 21 Jun 2010 08:11:31 +0000
(10:11 +0200)
committer
James Bottomley
<
[email protected]
>
Wed, 21 Jul 2010 22:05:06 +0000
(15:05 -0700)
A false check was performed whether an unchained ct_els
is possible or not.
Signed-off-by: Swen Schillig <
[email protected]
>
Signed-off-by: Christof Schmitt <
[email protected]
>
Signed-off-by: James Bottomley <
[email protected]
>
drivers/s390/scsi/zfcp_fsf.c
patch
|
blob
|
history
diff --git
a/drivers/s390/scsi/zfcp_fsf.c
b/drivers/s390/scsi/zfcp_fsf.c
index 9ac6a6e4a6047531d142b86256c8266e5c411dfc..4e15361a83b98e98cf8fb27411fb9e697a7048c2 100644
(file)
--- 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;