diff --git a/src/cf/linux-test4.m4 b/src/cf/linux-test4.m4 index 424bedfb76..709d8ebb41 100644 --- a/src/cf/linux-test4.m4 +++ b/src/cf/linux-test4.m4 @@ -269,10 +269,7 @@ AC_DEFUN([LINUX_STATFS_TAKES_DENTRY], [ [ac_cv_linux_statfs_takes_dentry], [#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 *);], [STATFS_TAKES_DENTRY], [define if your statfs takes a dentry argument]) ])