From: yangsheng Date: Tue, 11 Nov 2008 07:44:07 +0000 (+0000) Subject: Branch b1_8_gate X-Git-Tag: v1_7_140~1^209 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=cdcbf12bdb86ca256978f3d366a8b72b90581297;p=fs%2Flustre-release.git Branch b1_8_gate b=17153 i=adilger, robert.read Remove 2.4 check. Author: tappro CVSooi= --- 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)