]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] host state model update: reimplement scsi_host_cancel
authorMike Anderson <andmike@us.ibm.com>
Thu, 16 Jun 2005 18:13:42 +0000 (11:13 -0700)
committerJames Bottomley <jejb@mulgrave.(none)>
Sat, 30 Jul 2005 16:11:37 +0000 (11:11 -0500)
commitd2c9d9eafa03dbd08a8a439e6c5addb8b1f03b9b
tree2af0c85e0ffddf593821c961f0a5e729de8c6ccc
parentd3301874083874f8a0ac88aa1bb7da6b62df34d2
[SCSI] host state model update: reimplement scsi_host_cancel

Remove the old scsi_host_cancel function as it has not been working for
sometime do to the device list possibly being empty when it is called and
possible race issues. Add setting of SHOST_CANCEL at the state of beginning
of scsi_remove_host.

Signed-off-by: Mike Anderson <andmike@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/hosts.c
drivers/scsi/scsi.c