From cdcbf12bdb86ca256978f3d366a8b72b90581297 Mon Sep 17 00:00:00 2001 From: yangsheng Date: Tue, 11 Nov 2008 07:44:07 +0000 Subject: [PATCH] Branch b1_8_gate b=17153 i=adilger, robert.read Remove 2.4 check. Author: tappro CVSooi= --- lustre/mds/mds_internal.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lustre/mds/mds_internal.h b/lustre/mds/mds_internal.h index 7cbf579..1e53c23 100644 --- 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) -- 1.8.3.1