diff options
author | James Bottomley <James.Bottomley@steeleye.com> | 2006-02-14 19:48:46 +0300 |
---|---|---|
committer | <jejb@mulgrave.il.steeleye.com> | 2006-02-14 20:15:11 +0300 |
commit | 65110b2168950a19cc78b5027ed18cb811fbdae8 (patch) | |
tree | 8cdf4fc26b707e0e6ba988fd56da118d3206dceb /fs/file.c | |
parent | faead26d7a06605add627f29aee73ba654ce11f9 (diff) | |
download | linux-65110b2168950a19cc78b5027ed18cb811fbdae8.tar.xz |
[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: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions