From 856fae351b61bc9b0e36969f69cd8e4c22da3fbe Mon Sep 17 00:00:00 2001 From: yangsheng Date: Tue, 11 Nov 2008 07:43:34 +0000 Subject: [PATCH] Branch b1_8_gate b=17153 i=adilger, robert.read Remove 2.4 check. Author: tappro CVSooi= --- lustre/include/linux/obd_class.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lustre/include/linux/obd_class.h b/lustre/include/linux/obd_class.h index 501cd69..c373296 100644 --- a/lustre/include/linux/obd_class.h +++ b/lustre/include/linux/obd_class.h @@ -59,9 +59,7 @@ void iattr_from_obdo(struct iattr *attr, struct obdo *oa, obd_flag valid); void obdo_from_inode(struct obdo *dst, struct inode *src, obd_flag valid); void obdo_refresh_inode(struct inode *dst, struct obdo *src, obd_flag valid); void obdo_to_inode(struct inode *dst, struct obdo *src, obd_flag valid); -#endif - -#if !defined(__KERNEL__) || (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)) +#else #define to_kdev_t(dev) dev #define kdev_t_to_nr(dev) dev #endif -- 1.8.3.1