From: Stefan Weinhuber <[email protected]>
[S390] dasd: clean up timer.
Clean up dasd timer when when a dasd device is set offline.
Signed-off-by: Stefan Weinhuber <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
---
drivers/s390/block/dasd.c | 1 +
1 files changed, 1 insertion(+)
diff -urpN linux-2.6/drivers/s390/block/dasd.c linux-2.6-patched/drivers/s390/block/dasd.c
--- linux-2.6/drivers/s390/block/dasd.c 2006-10-18 17:12:37.000000000 +0200
+++ linux-2.6-patched/drivers/s390/block/dasd.c 2006-10-18 17:12:57.000000000 +0200
@@ -203,6 +203,7 @@ dasd_state_basic_to_known(struct dasd_de
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) {