diff --git a/src/cf/linux-test4.m4 b/src/cf/linux-test4.m4 index 5eabaa90b7..89fccf55e0 100644 --- a/src/cf/linux-test4.m4 +++ b/src/cf/linux-test4.m4 @@ -734,10 +734,7 @@ AC_DEFUN([LINUX_STATFS_TAKES_DENTRY], [ AC_TRY_KBUILD( [#include #include ], -[struct super_block _sb; -struct dentry _dentry; -struct kstatfs _kstatfs; -(void)_sb.s_op->statfs(&_dentry, &_kstatfs);], +[extern int simple_statfs(struct dentry *, struct kstatfs *);], ac_cv_linux_statfs_takes_dentry=yes, ac_cv_linux_statfs_takes_dentry=no)]) AC_MSG_RESULT($ac_cv_linux_statfs_takes_dentry)])