]> git.baikalelectronics.ru Git - kernel.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)
commita7f6470f10caf3f1b14f7f04bdad80744b3b7070
tree2af0c85e0ffddf593821c961f0a5e729de8c6ccc
parent90681d53a1fbb07c643ffe15f054096376762a24
[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