1
linux/include/scsi
James Bottomley 3ed7a4704b [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>
2005-09-19 09:50:04 -05:00
..
scsi_cmnd.h [SCSI] add global timeout to the scsi mid-layer 2005-08-08 09:55:39 -05:00
scsi_dbg.h [SCSI] convert sd to scsi_execute_req (and update the scsi_execute_req API) 2005-08-28 11:33:52 -05:00
scsi_device.h [SCSI] Alter the scsi_add_device() API to conform to what users expect 2005-09-10 14:43:25 -05:00
scsi_devinfo.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_driver.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_eh.h Merge by hand (conflicts in sd.c) 2005-09-06 17:52:54 -05:00
scsi_host.h [SCSI] Fix thread termination for the SCSI error handle 2005-09-19 09:50:04 -05:00
scsi_ioctl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_request.h [SCSI] convert SPI transport class to scsi_execute 2005-08-28 11:31:14 -05:00
scsi_tcq.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_transport_fc.h [SCSI] change port speed definitions for scsi_transport_fc 2005-09-16 11:25:50 -04:00
scsi_transport_iscsi.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_transport_sas.h [SCSI] SAS transport class 2005-09-09 16:43:37 -05:00
scsi_transport_spi.h [SCSI] add ability to deny binding to SPI transport class 2005-08-14 14:42:25 -05:00
scsi_transport.h [SCSI] fix target scanning oops with fc transport class 2005-08-08 17:14:55 -05:00
scsi.h [SCSI] add TYPE_RBC to our type table 2005-07-11 12:38:33 -05:00
scsicam.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sg_request.h [PATCH] I2O: Adaptec specific SG_IO access, firmware access through sysfs and 2400A workaround 2005-06-24 00:05:28 -07:00
sg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00