message/i2o_block: replace
PATCH 1/1 message/i2o_block: 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_block.c +2 -2
@@ -75,6 +75,7 @@#include <linux/hdreg.h> #include <linux/spinlock.h> #include <linux/bio.h> +#include <linux/delay.h> #include <linux/notifier.h> #include <linux/reboot.h>
@@ -1659,8 +1660,7 @@ static void i2o_block_exit(void)* This isnt ideal at all but will do for now. */ -set_current_state (TASK_UNINTERRUPTIBLE ); -schedule_timeout (HZ ); +msleep (1000 );/* * Flush the OSM
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors