提交 867dcd0f 编写于 作者: S Stefan Weinhuber 提交者: Martin Schwidefsky

[S390] dasd: clean up timer.

Clean up dasd timer when when a dasd device is set offline.
Signed-off-by: NStefan Weinhuber <wein@de.ibm.com>
Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
上级 83377484
...@@ -203,6 +203,7 @@ dasd_state_basic_to_known(struct dasd_device * device) ...@@ -203,6 +203,7 @@ dasd_state_basic_to_known(struct dasd_device * device)
rc = dasd_flush_ccw_queue(device, 1); rc = dasd_flush_ccw_queue(device, 1);
if (rc) if (rc)
return rc; return rc;
dasd_clear_timer(device);
DBF_DEV_EVENT(DBF_EMERG, device, "%p debug area deleted", device); DBF_DEV_EVENT(DBF_EMERG, device, "%p debug area deleted", device);
if (device->debug_area != NULL) { if (device->debug_area != NULL) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册