aboutsummaryrefslogtreecommitdiffstats
path: root/fs/orangefs/orangefs-kernel.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-01-23 13:17:55 -0500
committerMike Marshall <hubcap@omnibond.com>2016-01-23 15:20:11 -0500
commit727cbfea623b78d46ce8e0f8c931b5189f3fe2e0 (patch)
tree43876fa45e56611fd9901f1b943be7438adbc518 /fs/orangefs/orangefs-kernel.h
parentorangefs_clean_up_interrupted_operation: call with op->lock held (diff)
downloadlinux-dev-727cbfea623b78d46ce8e0f8c931b5189f3fe2e0.tar.xz
linux-dev-727cbfea623b78d46ce8e0f8c931b5189f3fe2e0.zip
orangefs: get rid of MSECS_TO_JIFFIES
All timeouts are in _seconds_, so all calls are of form MSECS_TO_JIFFIES(n * 1000), which is a convoluted way to spell n * HZ. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/orangefs-kernel.h')
-rw-r--r--fs/orangefs/orangefs-kernel.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/orangefs/orangefs-kernel.h b/fs/orangefs/orangefs-kernel.h
index f96ec3da6b00..2b72806d0f68 100644
--- a/fs/orangefs/orangefs-kernel.h
+++ b/fs/orangefs/orangefs-kernel.h
@@ -80,11 +80,6 @@ sizeof(__u64) + sizeof(struct orangefs_upcall_s))
#define MAX_DEV_REQ_DOWNSIZE (2 * sizeof(__s32) + \
sizeof(__u64) + sizeof(struct orangefs_downcall_s))
-/* borrowed from irda.h */
-#ifndef MSECS_TO_JIFFIES
-#define MSECS_TO_JIFFIES(ms) (((ms)*HZ+999)/1000)
-#endif
-
/*
* valid orangefs kernel operation states
*