OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf3f81b
)
[PATCH] scsi_error thread exits in TASK_INTERRUPTIBLE state.
author
Steven Rostedt
<rostedt@goodmis.org>
Wed, 19 Oct 2005 12:22:13 +0000
(08:22 -0400)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 20 Oct 2005 06:16:21 +0000
(23:16 -0700)
Found in the -rt patch set. The scsi_error thread likely will be in the
TASK_INTERRUPTIBLE state upon exit. This patch fixes this bug.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/scsi/scsi_error.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/scsi_error.c
b/drivers/scsi/scsi_error.c
index
ad53421
..
52b348c
100644
(file)
--- a/
drivers/scsi/scsi_error.c
+++ b/
drivers/scsi/scsi_error.c
@@
-1645,6
+1645,8
@@
int scsi_error_handler(void *data)
set_current_state(TASK_INTERRUPTIBLE);
}
+ __set_current_state(TASK_RUNNING);
+
SCSI_LOG_ERROR_RECOVERY(1, printk("Error handler scsi_eh_%d"
" exiting\n",shost->host_no));