Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
696f6d3
)
Branch b1_8_gate
author
yangsheng
<yangsheng>
Tue, 11 Nov 2008 07:43:52 +0000
(07:43 +0000)
committer
yangsheng
<yangsheng>
Tue, 11 Nov 2008 07:43:52 +0000
(07:43 +0000)
b=17153
i=adilger, robert.read
Remove 2.4 check.
Author: tappro
CVSooi=<inspected_by>
lustre/llite/lproc_llite.c
patch
|
blob
|
history
diff --git
a/lustre/llite/lproc_llite.c
b/lustre/llite/lproc_llite.c
index
596098d
..
6d3bb3d
100644
(file)
--- a/
lustre/llite/lproc_llite.c
+++ b/
lustre/llite/lproc_llite.c
@@
-651,11
+651,7
@@
struct llite_file_opcode {
{ LPROC_LL_TRUNC, LPROCFS_TYPE_REGS, "truncate" },
{ LPROC_LL_LOCKLESS_TRUNC, LPROCFS_TYPE_REGS, "lockless_truncate" },
{ LPROC_LL_FLOCK, LPROCFS_TYPE_REGS, "flock" },
-#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
{ LPROC_LL_GETATTR, LPROCFS_TYPE_REGS, "getattr" },
-#else
- { LPROC_LL_REVALIDATE, LPROCFS_TYPE_REGS, "getattr" },
-#endif
/* special inode operation */
{ LPROC_LL_STAFS, LPROCFS_TYPE_REGS, "statfs" },
{ LPROC_LL_ALLOC_INODE, LPROCFS_TYPE_REGS, "alloc_inode" },