]> git.baikalelectronics.ru Git - kernel.git/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)
commitb047530169e3e26aa9fecc61dbd93ed276628650
tree41ff880a87412cf55eb12425e916fda57955ee5c
parentdca1a3a147211bd63efa855fe79e8284126ce311
[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