From d6dced159e7df0cc966ecd5d6ab0ee166bb24175 Mon Sep 17 00:00:00 2001 From: yangsheng Date: Tue, 9 Oct 2007 03:43:22 +0000 Subject: [PATCH] Branch HEAD b=13568 i=adilger i=wangdi Remove 2.5.0 kernel check from quota subsystem. --- lustre/ChangeLog | 6 ++++++ lustre/quota/quota_check.c | 12 ++++-------- lustre/quota/quota_ctl.c | 12 ++++-------- lustre/quota/quota_interface.c | 12 ++++-------- 4 files changed, 18 insertions(+), 24 deletions(-) diff --git a/lustre/ChangeLog b/lustre/ChangeLog index 86ffc43..c120b35 100644 --- a/lustre/ChangeLog +++ b/lustre/ChangeLog @@ -368,6 +368,12 @@ Details : Modify target file & which_patch. could exploit this flaw to run code in the kernel (ie a root privilege escalation). (CVE-2007-4573). +Severity : normal +Bugzilla : 13568 +Description: Remove 2.4 kernel checks lustre 1.8 +Details : Remove 2.5.0 check from quota_check.c, quota_ctl.c, + quota_interface.c in quota subsystem. + -------------------------------------------------------------------------------- 2007-08-10 Cluster File Systems, Inc. diff --git a/lustre/quota/quota_check.c b/lustre/quota/quota_check.c index 1596b74..5cecee1 100644 --- a/lustre/quota/quota_check.c +++ b/lustre/quota/quota_check.c @@ -22,14 +22,10 @@ # include # include # include -# if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)) -# include -# include -# include -# include -# else -# include -# endif +# include +# include +# include +# include #else /* __KERNEL__ */ # include #endif diff --git a/lustre/quota/quota_ctl.c b/lustre/quota/quota_ctl.c index 4f50f7d..c0641fc 100644 --- a/lustre/quota/quota_ctl.c +++ b/lustre/quota/quota_ctl.c @@ -23,14 +23,10 @@ # include # include # include -# if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)) -# include -# include -# include -# include -# else -# include -# endif +# include +# include +# include +# include #else /* __KERNEL__ */ # include #endif diff --git a/lustre/quota/quota_interface.c b/lustre/quota/quota_interface.c index d7084a9..09a6b20cf 100644 --- a/lustre/quota/quota_interface.c +++ b/lustre/quota/quota_interface.c @@ -22,14 +22,10 @@ # include # include # include -# if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)) -# include -# include -# include -# include -# else -# include -# endif +# include +# include +# include +# include #else /* __KERNEL__ */ # include #endif -- 1.8.3.1