summaryrefslogtreecommitdiffstats
path: root/mm/fadvise.c
diff options
context:
space:
mode:
authorJames Bottomley <jejb@titanic.(none)>2005-09-19 09:50:04 -0500
committerJames Bottomley <jejb@titanic.(none)>2005-09-19 09:50:04 -0500
commit3ed7a4704beb66a155acd67b78b7e9a5674d55fb (patch)
tree0a0ad71a64888fb2ab69e2b0acb99005dbc3af04 /mm/fadvise.c
parent939647ee308e0ad924e776657704c7bedd498664 (diff)
downloadlinux-3ed7a4704beb66a155acd67b78b7e9a5674d55fb.tar.gz
linux-3ed7a4704beb66a155acd67b78b7e9a5674d55fb.tar.bz2
linux-3ed7a4704beb66a155acd67b78b7e9a5674d55fb.zip
[SCSI] Fix thread termination for the SCSI error handle
From: Alan Stern <stern@rowland.harvard.edu> This patch (as561) fixes the error handler's thread-exit code. The kthread_stop call won't wake the thread from a down_interruptible, so the patch gets rid of the semaphore and simply does set_current_state(TASK_INTERRUPTIBLE); Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Modified to simplify the termination loop and correct the sleep condition. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'mm/fadvise.c')
0 files changed, 0 insertions, 0 deletions