summaryrefslogtreecommitdiff
path: root/drivers/s390/block
diff options
context:
space:
mode:
authorStefan Weinhuber <wein@de.ibm.com>2006-10-18 16:30:53 (GMT)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2006-10-18 16:30:53 (GMT)
commit867dcd0f32b125f45a663f9374a36fb21193ab21 (patch)
tree88f4e937d433650718c4c83c6095108aa112fa21 /drivers/s390/block
parent833774849d50a59f58e9bdfc3d9c88e682b3596d (diff)
downloadlinux-867dcd0f32b125f45a663f9374a36fb21193ab21.tar.xz
[S390] dasd: clean up timer.
Clean up dasd timer when when a dasd device is set offline. Signed-off-by: Stefan Weinhuber <wein@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/block')
-rw-r--r--drivers/s390/block/dasd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/block/dasd.c b/drivers/s390/block/dasd.c
index d0647d1..79ffef6 100644
--- a/drivers/s390/block/dasd.c
+++ b/drivers/s390/block/dasd.c
@@ -203,6 +203,7 @@ dasd_state_basic_to_known(struct dasd_device * device)
rc = dasd_flush_ccw_queue(device, 1);
if (rc)
return rc;
+ dasd_clear_timer(device);
DBF_DEV_EVENT(DBF_EMERG, device, "%p debug area deleted", device);
if (device->debug_area != NULL) {