summaryrefslogtreecommitdiff
path: root/drivers/s390
diff options
context:
space:
mode:
authorStefan Weinhuber <wein@de.ibm.com>2006-10-18 18:30:53 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2006-10-18 18:30:53 +0200
commit867dcd0f32b125f45a663f9374a36fb21193ab21 (patch)
tree88f4e937d433650718c4c83c6095108aa112fa21 /drivers/s390
parent833774849d50a59f58e9bdfc3d9c88e682b3596d (diff)
downloadlinux-3.10-867dcd0f32b125f45a663f9374a36fb21193ab21.tar.gz
linux-3.10-867dcd0f32b125f45a663f9374a36fb21193ab21.tar.bz2
linux-3.10-867dcd0f32b125f45a663f9374a36fb21193ab21.zip
[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')
-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 d0647d116ea..79ffef6bfaf 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) {