]> err.no Git - linux-2.6/commit
[PATCH] fs: fix-up schedule_timeout() usage
authorNishanth Aravamudan <nacc@us.ibm.com>
Sat, 10 Sep 2005 07:27:23 +0000 (00:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 10 Sep 2005 17:06:36 +0000 (10:06 -0700)
commit041e0e3b1970c508dc9a95b7dd9dc86271a7d7ac
tree41ff880a87412cf55eb12425e916fda57955ee5c
parent373016e9e1353f2af871993d27d00768f08cc883
[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>
fs/cifs/connect.c
fs/jbd/transaction.c
fs/lockd/clntproc.c
fs/nfs/nfs3proc.c
fs/nfs/nfs4proc.c
fs/reiserfs/journal.c
fs/smbfs/proc.c
fs/xfs/linux-2.6/time.h
fs/xfs/linux-2.6/xfs_buf.c
fs/xfs/linux-2.6/xfs_super.c