From 7f29ac1fe12ec492e753187535c4d1f1b41c3d82 Mon Sep 17 00:00:00 2001 From: "Ned A. Bass" Date: Wed, 20 Apr 2011 14:56:09 -0700 Subject: [PATCH] LU-225 --with-ldiskfs-inkernel checks wrong file Commit fd0bd149e66cbc06a17c372e159f9bfba024cc97 changed the file checked when the --with-ldiskfs-inkernel configure option is used from $LINUX/fs/ldiskfs/inode.c to $LINUX/include/linux/ldiskfs_fs.h. It looks like the person fixing a similar case statement assumed the same fix applied to the inkernel case. However, this is wrong because the purpose of --with-ldiskfs-inkernel is to allow us to build lustre without having full kernel sources available, so inode.c won't exist. Signed-off-by: Ned Bass Change-Id: I6dc1db41fdee0016eab7d151c519e3359d78b44b Reviewed-on: http://review.whamcloud.com/446 Reviewed-by: Brian J. Murrell Tested-by: Hudson Reviewed-by: Oleg Drokin --- build/autoconf/lustre-build.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/autoconf/lustre-build.m4 b/build/autoconf/lustre-build.m4 index dd43a7e..1dd260a 100644 --- a/build/autoconf/lustre-build.m4 +++ b/build/autoconf/lustre-build.m4 @@ -300,8 +300,8 @@ case x$with_ldiskfs in ;; xinkernel) AC_MSG_RESULT([inkernel]) - LB_CHECK_FILE([$LINUX/fs/ldiskfs/inode.c],[],[ - AC_MSG_ERROR([ldiskfs was not found in $LINUX/fs/ldiskfs/inode.c]) + LB_CHECK_FILE([$LINUX/include/linux/ldiskfs_fs.h],[],[ + AC_MSG_ERROR([ldiskfs was not found in $LINUX]) ]) ;; *) -- 1.8.3.1