Commit 0e5e99a9 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] scsi_eh_* needs to run even during suspend

Patch from Pavel Machek <pavel@ucw.cz>

scsi_eh_* needs to run even during suspend because suspend does not prevent a
hard disk from reporting an error.
parent affe997d
......@@ -1594,6 +1594,7 @@ void scsi_error_handler(void *data)
*/
sprintf(current->comm, "scsi_eh_%d", shost->host_no);
current->flags |= PF_IOTHREAD;
shost->eh_wait = &sem;
shost->ehandler = current;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment