From 9b444af6ad00c68d74ec70f01e1236d2d075eee1 Mon Sep 17 00:00:00 2001
From: yangsheng <yangsheng>
Date: Fri, 2 Nov 2007 09:54:22 +0000
Subject: [PATCH] Branch HEAD b=13568 i=green i=adilger

Remove 2.4 kernel check from lustre/lov/lproc_lov.c.
---
 lustre/ChangeLog       | 1 +
 lustre/lov/lproc_lov.c | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/lustre/ChangeLog b/lustre/ChangeLog
index 09edcfdf4b..819b59ccc4 100644
--- a/lustre/ChangeLog
+++ b/lustre/ChangeLog
@@ -37,6 +37,7 @@ Details    : Remove 2.5.0 check from quota_check.c, quota_ctl.c,
 	     Remove 2.4 kernel code from lustre/mgc/mgc_request.c.
 	     Remove 2.4 kernel check from lustre/mdt/mdt_lproc.c.
 	     Remove 2.4 kernel code from lustre/mdc/mdc_request.c.
+	     Remove 2.4 kernel check from lustre/lov/lproc_lov.c.
 
 Severity   : enhancement
 Bugzilla   : 13690
diff --git a/lustre/lov/lproc_lov.c b/lustre/lov/lproc_lov.c
index 6e41caf2b9..0fa460bf43 100644
--- a/lustre/lov/lproc_lov.c
+++ b/lustre/lov/lproc_lov.c
@@ -25,9 +25,7 @@
 #define DEBUG_SUBSYSTEM S_CLASS
 
 #include <linux/version.h>
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0))
 #include <asm/statfs.h>
-#endif
 #include <lprocfs_status.h>
 #include <obd_class.h>
 #include <linux/seq_file.h>
-- 
GitLab