| commit | 041e0e3b1970c508dc9a95b7dd9dc86271a7d7ac | [log] [tgz] |
|---|---|---|
| author | Nishanth Aravamudan <nacc@us.ibm.com> | Sat Sep 10 00:27:23 2005 -0700 |
| committer | Linus Torvalds <torvalds@g5.osdl.org> | Sat Sep 10 10:06:36 2005 -0700 |
| tree | 41ff880a87412cf55eb12425e916fda57955ee5c | |
| parent | 373016e9e1353f2af871993d27d00768f08cc883 [diff] |
[PATCH] fs: fix-up schedule_timeout() usage
Use schedule_timeout_{,un}interruptible() instead of
set_current_state()/schedule_timeout() to reduce kernel size. Also use helper
functions to convert between human time units and jiffies rather than constant
HZ division to avoid rounding errors.
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>