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:
0b537de
)
Branch b1_8_gate
author
yangsheng
<yangsheng>
Tue, 11 Nov 2008 07:44:07 +0000
(07:44 +0000)
committer
yangsheng
<yangsheng>
Tue, 11 Nov 2008 07:44:07 +0000
(07:44 +0000)
b=17153
i=adilger, robert.read
Remove 2.4 check.
Author: tappro
CVSooi=<inspected_by>
lustre/mds/mds_internal.h
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_internal.h
b/lustre/mds/mds_internal.h
index
7cbf579
..
1e53c23
100644
(file)
--- a/
lustre/mds/mds_internal.h
+++ b/
lustre/mds/mds_internal.h
@@
-67,11
+67,7
@@
static inline void mds_export_evict(struct obd_export *exp)
#ifdef __KERNEL__
/* Open counts for files. No longer atomic, must hold inode->i_sem */
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0))
# define mds_inode_oatomic(inode) ((inode)->i_cindex)
-#else
-# define mds_inode_oatomic(inode) ((inode)->i_attr_flags)
-#endif
#ifdef HAVE_I_ALLOC_SEM
#define MDS_UP_READ_ORPHAN_SEM(i) UP_READ_I_ALLOC_SEM(i)