From: James Bottomley Date: Mon, 19 Sep 2005 14:50:04 +0000 (-0500) Subject: [SCSI] Fix thread termination for the SCSI error handle X-Git-Tag: v2.6.14-rc3~154^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ed7a4704beb66a155acd67b78b7e9a5674d55fb;p=pandora-kernel.git [SCSI] Fix thread termination for the SCSI error handle From: Alan Stern 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 Modified to simplify the termination loop and correct the sleep condition. Signed-off-by: James Bottomley --- Reading git-diff-tree failed