message/i2o_core: replace
PATCH 1/1 message/i2o_core: replace
I would appreciate any comments from the janitors list.
Thanks,
Nish
Applys-to: 2.6.7
Description: Uses msleep() instead of schedule_timeout() so the task is guaranteed to delay the desired time.
Signed-off-by Nishanth Aravamudan <[email protected]>
drivers/message/i2o/i2o_core.c +1 -2
@@ -889,8 +889,7 @@ int i2o_release_device(struct i2o_deviceif ((err=i2o_issue_claim (I2O_CMD_UTIL_RELEASE , d->controller, d->lct_data.tid,I2O_CLAIM_PRIMARY )) ) { err = -ENXIO ; - current->state =TASK_UNINTERRUPTIBLE ; -schedule_timeout (HZ ); +msleep (1000 ); }else {
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors