[PATCH] janitor: block/xd: replace schedule_timeout() with msleep()/msleep_interrupti...
commitf6a2f3404a3b09281a264058fa8dd318bac51178
authorNishanth Aravamudan <nacc@us.ibm.com>
Sat, 10 Sep 2005 07:27:14 +0000 (10 00:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 10 Sep 2005 17:06:34 +0000 (10 10:06 -0700)
tree2cb7925192d25932cade9dab4715fd13ad499c83
parent31a34571e5eed7cb1d70d5e7edd013261fe602e9
[PATCH] janitor: block/xd: replace schedule_timeout() with msleep()/msleep_interruptible()

Use msleep() or msleep_interruptible() [as appropriate] instead of
schedule_timeout() to gurantee the task delays as expected.  As a result
changed the units of the timeout variable from jiffies to msecs.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/xd.c