From 856e5cb2e11d39e5051d1bcf0bd872aadfb777ae Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Wed, 11 Oct 2006 05:44:55 +0000 Subject: Check for signature of super_operations->umount_begin() --- kernel/configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'kernel/configure.ac') diff --git a/kernel/configure.ac b/kernel/configure.ac index d0ebcc8..29e6ee3 100644 --- a/kernel/configure.ac +++ b/kernel/configure.ac @@ -149,6 +149,14 @@ if test "$ENABLE_FUSE_MODULE" = y; then AC_MSG_RESULT([no]) fi + AC_MSG_CHECKING([if umount_begin is passed a vfsmount]) + if egrep -q "\(\*umount_begin\) *\(struct vfsmount \*" $kernelsrc/include/linux/fs.h; then + AC_DEFINE(UMOUNT_BEGIN_VFSMOUNT, 1, [umount_begin is passed a vfsmount]) + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + fi + AC_MSG_CHECKING([whether lookup_instantiate_filp is defined]) if test -f $kernelsrc/include/linux/namei.h && egrep -q "lookup_instantiate_filp" $kernelsrc/include/linux/namei.h; then AC_DEFINE(HAVE_LOOKUP_INSTANTIATE_FILP, 1, [lookup_instantiate_filp() is defined]) -- cgit v1.2.3