[SCSI] fix wrong context bugs in SCSI
authorJames Bottomley <James.Bottomley@steeleye.com>
Tue, 14 Feb 2006 16:48:46 +0000 (10:48 -0600)
committer <jejb@mulgrave.il.steeleye.com> <>
Tue, 14 Feb 2006 17:15:11 +0000 (11:15 -0600)
There's a bug in releasing scsi_device where the release function
actually frees the block queue.  However, the block queue release
calls flush_work(), which requires process context (the scsi_device
structure may release from irq context).  Update the release function
to invoke via the execute_in_process_context() API.

Also clean up the scsi_target structure releasing via this API.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>

No differences found