[SCSI] scsi/qla1280: replace schedule_timeout() with ssleep()
Use ssleep() instead of schedule_timeout to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
6f0dcb72d6
commit
117e4b27eb
1 changed files with 1 additions and 1 deletions
|
@ -2853,7 +2853,7 @@ qla1280_bus_reset(struct scsi_qla_host *ha, int bus)
|
|||
ha->bus_settings[bus].failed_reset_count++;
|
||||
} else {
|
||||
spin_unlock_irq(HOST_LOCK);
|
||||
schedule_timeout(reset_delay * HZ);
|
||||
ssleep(reset_delay);
|
||||
spin_lock_irq(HOST_LOCK);
|
||||
|
||||
ha->bus_settings[bus].scsi_bus_dead = 0;
|
||||
|
|
Loading…
Reference in a new issue