Whamcloud - gitweb
Branch HEAD
authoryangsheng <yangsheng>
Fri, 2 Nov 2007 07:45:30 +0000 (07:45 +0000)
committeryangsheng <yangsheng>
Fri, 2 Nov 2007 07:45:30 +0000 (07:45 +0000)
b=13568
i=johann
i=green

Remove 2.4 kernel check from lustre/mdt/mdt_lproc.c.

lustre/ChangeLog
lustre/mdt/mdt_lproc.c

index 325bd3e..99b7f79 100644 (file)
@@ -35,6 +35,7 @@ Details    : Remove 2.5.0 check from quota_check.c, quota_ctl.c,
             Remove 2.4 kernel check from lustre/mgs/lproc_mgs.c,
             lustre/mgs/mgs_fs.c.
             Remove 2.4 kernel code from lustre/mgc/mgc_request.c.
+            Remove 2.4 kernel check from lustre/mdt/mdt_lproc.c.
 
 Severity   : enhancement
 Bugzilla   : 13690
index d2517d3..ed46c91 100644 (file)
@@ -31,9 +31,7 @@
 #define DEBUG_SUBSYSTEM S_MDS
 
 #include <linux/version.h>
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0))
 #include <asm/statfs.h>
-#endif
 
 #include <linux/module.h>