Whamcloud - gitweb
Branch HEAD
authoradilger <adilger>
Fri, 16 Feb 2007 08:27:03 +0000 (08:27 +0000)
committeradilger <adilger>
Fri, 16 Feb 2007 08:27:03 +0000 (08:27 +0000)
Reorder include files so that the cookie check doesn't always fail.

lustre/autoconf/lustre-core.m4

index 0da0ccc..bae9bca 100644 (file)
@@ -1154,9 +1154,8 @@ LB_LINUX_TRY_COMPILE([
 AC_DEFUN([LC_COOKIE_FOLLOW_LINK],
 [AC_MSG_CHECKING([if inode_operations->follow_link returns a cookie])
 LB_LINUX_TRY_COMPILE([
-       #include <linux/namei.h>
         #include <linux/fs.h>
-
+        #include <linux/namei.h>
 ],[
         struct dentry dentry;
         struct nameidata nd;