From: Nishanth Aravamudan Date: Mon, 20 Jun 2005 21:55:07 +0000 (+0200) Subject: [SCSI] scsi/qla1280: replace schedule_timeout() with ssleep() X-Git-Tag: v2.6.13-rc4~75^2~57 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=117e4b27ebb1133072b1453145e60e576569e8af;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Domen Puncer Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c index 1a4ce1c3947..b993652bfa2 100644 --- a/drivers/scsi/qla1280.c +++ b/drivers/scsi/qla1280.c @@ -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;