[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>
Showing
- fs/cifs/connect.c 2 additions, 4 deletionsfs/cifs/connect.c
- fs/jbd/transaction.c 1 addition, 2 deletionsfs/jbd/transaction.c
- fs/lockd/clntproc.c 1 addition, 2 deletionsfs/lockd/clntproc.c
- fs/nfs/nfs3proc.c 1 addition, 2 deletionsfs/nfs/nfs3proc.c
- fs/nfs/nfs4proc.c 4 additions, 8 deletionsfs/nfs/nfs4proc.c
- fs/reiserfs/journal.c 1 addition, 2 deletionsfs/reiserfs/journal.c
- fs/smbfs/proc.c 1 addition, 2 deletionsfs/smbfs/proc.c
- fs/xfs/linux-2.6/time.h 1 addition, 2 deletionsfs/xfs/linux-2.6/time.h
- fs/xfs/linux-2.6/xfs_buf.c 3 additions, 3 deletionsfs/xfs/linux-2.6/xfs_buf.c
- fs/xfs/linux-2.6/xfs_super.c 6 additions, 6 deletionsfs/xfs/linux-2.6/xfs_super.c
Loading
Please register or sign in to comment