From b56bf2abed60c50d3ca4b71983ecfa709c988faf Mon Sep 17 00:00:00 2001 From: yangsheng Date: Thu, 24 Jul 2008 14:56:09 +0000 Subject: [PATCH] Branch b1_8_gate b=15308 i=johann, shadow, zhenyu.xu, brian Update to SLES10 SP2 kernel-2.6.16.60-0.23 and update to OFED-1.3.1. --- lustre/autoconf/lustre-core.m4 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index 7623b34..c9b482f 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -1338,6 +1338,9 @@ AC_DEFUN([LC_PROG_LINUX], # 2.6.15 LC_INODE_I_MUTEX + # 2.6.16 + LC_SECURITY_PLUG # for SLES10 SP2 + # 2.6.17 LC_DQUOTOFF_MUTEX @@ -1580,6 +1583,27 @@ LB_LINUX_TRY_COMPILE([ ]) ]) +# LC_SECURITY_PLUG # for SLES10 SP2 +# check security plug in sles10 sp2 kernel +AC_DEFUN([LC_SECURITY_PLUG], +[AC_MSG_CHECKING([If kernel has security plug support]) +LB_LINUX_TRY_COMPILE([ + #include +],[ + struct dentry *dentry; + struct vfsmount *mnt; + struct iattr *iattr; + + notify_change(dentry, mnt, iattr); +],[ + AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_SECURITY_PLUG, 1, + [SLES10 SP2 use extra parameter in vfs]) +],[ + AC_MSG_RESULT(NO) +]) +]) + # # LC_CONFIGURE # -- 1.8.3.1