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:
e4dbb0f
)
[S390] dasd: Correct retry counter for terminated I/O.
author
Stefan Haberland
<
[email protected]
>
Wed, 5 Jan 2011 11:48:07 +0000
(12:48 +0100)
committer
Martin Schwidefsky
<
[email protected]
>
Wed, 5 Jan 2011 11:47:30 +0000
(12:47 +0100)
In case the DASD driver needs to term a running I/O the retry counter
is decreased twice.
Remove the unnecessary retry counter decrease in das_term_IO.
Signed-off-by: Stefan Haberland <
[email protected]
>
Signed-off-by: Martin Schwidefsky <
[email protected]
>
drivers/s390/block/dasd.c
patch
|
blob
|
history
diff --git
a/drivers/s390/block/dasd.c
b/drivers/s390/block/dasd.c
index 4e266f43332dad7474a7b980fe4ae6c6425d9c58..794bfd962266f3c55c95e24c60c768a9f5b261c0 100644
(file)
--- a/
drivers/s390/block/dasd.c
+++ b/
drivers/s390/block/dasd.c
@@
-855,7
+855,6
@@
int dasd_term_IO(struct dasd_ccw_req *cqr)
rc = ccw_device_clear(device->cdev, (long) cqr);
switch (rc) {
case 0: /* termination successful */
- cqr->retries--;
cqr->status = DASD_CQR_CLEAR_PENDING;
cqr->stopclk = get_clock();
cqr->starttime = 0;