scsi/ipr: replace schedule_timeout()
Looks good. Thanks. James, please apply.
-Brian
Quoted 21 lines · Nishanth Aravamudan
I would appreciate any comments from the janitors list.
Applys-to: 2.6.7
Description: Use
msleep()instead ofschedule_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 ;
Signature · 3 lines
Brian King eServer Storage I/O IBM Linux Technology Center
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors