diff options
| author | Aaro Koskinen <[email protected]> | 2009-04-14 15:47:00 -0500 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2009-05-20 17:21:14 -0500 |
| commit | fa8584566cc9cdaf067dbc12132792887a521da9 (patch) | |
| tree | e103d0c9b1885ad8c017ea5f20b7881f06e85239 /include/linux/timerqueue.h | |
| parent | 410604d25faddb1b4f0f9667b7452c06cc06cea1 (diff) | |
[SCSI] sym53c8xx_2: slave_alloc/destroy safety (2.6.27.5)
Make the sym53c8xx_2 driver slave_alloc/destroy less unsafe. References
to the destroyed LCB are cleared from the target structure (instead of
leaving a dangling pointer), and when the last LCB for the target is
destroyed the reference to the upper layer target data is cleared. The
host lock is used to prevent a race with the interrupt handler. Also
user commands are prevented for targets with all LCBs destroyed.
Signed-off-by: Aaro Koskinen <[email protected]>
Tested-by: Tony Battersby <[email protected]>
Signed-off-by: Mike Christie <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions