aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/block/dasd_erp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/block/dasd_erp.c')
-rw-r--r--drivers/s390/block/dasd_erp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/block/dasd_erp.c b/drivers/s390/block/dasd_erp.c
index d01ef82f8757..3250cb471f78 100644
--- a/drivers/s390/block/dasd_erp.c
+++ b/drivers/s390/block/dasd_erp.c
@@ -102,7 +102,7 @@ dasd_default_erp_action(struct dasd_ccw_req *cqr)
102 pr_err("%s: default ERP has run out of retries and failed\n", 102 pr_err("%s: default ERP has run out of retries and failed\n",
103 dev_name(&device->cdev->dev)); 103 dev_name(&device->cdev->dev));
104 cqr->status = DASD_CQR_FAILED; 104 cqr->status = DASD_CQR_FAILED;
105 cqr->stopclk = get_clock(); 105 cqr->stopclk = get_tod_clock();
106 } 106 }
107 return cqr; 107 return cqr;
108} /* end dasd_default_erp_action */ 108} /* end dasd_default_erp_action */
@@ -146,7 +146,7 @@ struct dasd_ccw_req *dasd_default_erp_postaction(struct dasd_ccw_req *cqr)
146 cqr->status = DASD_CQR_DONE; 146 cqr->status = DASD_CQR_DONE;
147 else { 147 else {
148 cqr->status = DASD_CQR_FAILED; 148 cqr->status = DASD_CQR_FAILED;
149 cqr->stopclk = get_clock(); 149 cqr->stopclk = get_tod_clock();
150 } 150 }
151 151
152 return cqr; 152 return cqr;