aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/block/dasd.c
diff options
context:
space:
mode:
authorStefan Haberland <stefan.haberland@de.ibm.com>2011-01-05 06:48:07 -0500
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2011-01-05 06:47:30 -0500
commit09a8e7adcf960bd6a7204f3f3b377a89ce22efbf (patch)
tree837be99a9d6d7e2019233c5a27efe38974c7ead7 /drivers/s390/block/dasd.c
parente4dbb0f2b5dd6a836d0e5c60aa5f573e0bbcf76a (diff)
[S390] dasd: Correct retry counter for terminated I/O.
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 <stefan.haberland@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/block/dasd.c')
-rw-r--r--drivers/s390/block/dasd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/s390/block/dasd.c b/drivers/s390/block/dasd.c
index 4e266f43332d..794bfd962266 100644
--- 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)
855 rc = ccw_device_clear(device->cdev, (long) cqr); 855 rc = ccw_device_clear(device->cdev, (long) cqr);
856 switch (rc) { 856 switch (rc) {
857 case 0: /* termination successful */ 857 case 0: /* termination successful */
858 cqr->retries--;
859 cqr->status = DASD_CQR_CLEAR_PENDING; 858 cqr->status = DASD_CQR_CLEAR_PENDING;
860 cqr->stopclk = get_clock(); 859 cqr->stopclk = get_clock();
861 cqr->starttime = 0; 860 cqr->starttime = 0;