diff options
| author | Tejun Heo <[email protected]> | 2005-05-13 15:46:08 +0000 |
|---|---|---|
| committer | James Bottomley <jejb@mulgrave.(none)> | 2005-05-20 17:53:54 +0000 |
| commit | d8c37e7b9a619855e05d5d4e56c68f799b1f539c (patch) | |
| tree | f32bcada38a55c16b8c0040043cd0ee087f48aec /drivers/message/fusion/lsi/mpi_raid.h | |
| parent | [SCSI] remove spurious if tests from scsi_eh_{times_out|done} (diff) | |
| download | kernel-d8c37e7b9a619855e05d5d4e56c68f799b1f539c.tar.gz kernel-d8c37e7b9a619855e05d5d4e56c68f799b1f539c.zip | |
[SCSI] remove a timer race in scsi_queue_insert()
scsi_queue_insert() has four callers. Three callers call with
timer disabled and one (the second invocation in
scsi_dispatch_cmd()) calls with timer activated.
scsi_queue_insert() used to always call scsi_delete_timer()
and ignore the return value. This results in race with timer
expiration. Remove scsi_delete_timer() call from
scsi_queue_insert() and make the caller delete timer and check
the return value.
Signed-off-by: Tejun Heo <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/message/fusion/lsi/mpi_raid.h')
0 files changed, 0 insertions, 0 deletions
