scsi/ipr: replace schedule_timeout() with
Subsystems (3)
PATCH 1/1 scsi/ipr: replace schedule_timeout() with
I would appreciate any comments from the janitors list.
Applys-to: 2.6.7
Description: Use msleep() instead of schedule_timeout() to guarantee the task delays for the desired time.
Signed-off-by Nishanth Aravamudan <[email protected]>
drivers/scsi/ipr.c +1 -1
@@ -2007,7 +2007,7 @@ static ssize_t ipr_store_diagnostics(strwait_event (ioa_cfg->reset_wait_q, !ioa_cfg->in_reset_reload);/* Wait for a second for any errors to be logged */ -schedule_timeout (HZ ); +msleep (1000 ); }else {spin_unlock_irqrestore (ioa_cfg->host->host_lock, lock_flags);return -EIO ;
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors