Skip to content
Commit 65110b21 authored by James Bottomley's avatar James Bottomley Committed by
Browse files

[SCSI] fix wrong context bugs in SCSI



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: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent faead26d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment