X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fcf%2Flinux-test4.m4;h=ab6da1de19492993a1e8e1e669b16388664154a9;hp=63aab1dfc46b43baa69949f8ff298e07fed54bec;hb=9cfd7f768ca350d3b750e89e7ddb186bdad6f726;hpb=b5675b57f815722f8c37fcfed5a2bd7b1ef112d6 diff --git a/src/cf/linux-test4.m4 b/src/cf/linux-test4.m4 index 63aab1d..ab6da1d 100644 --- a/src/cf/linux-test4.m4 +++ b/src/cf/linux-test4.m4 @@ -718,6 +718,21 @@ AC_DEFUN([LINUX_D_ALIAS_IS_HLIST], [ ]) +AC_DEFUN([LINUX_HLIST_ITERATOR_NO_NODE], [ + AC_CHECK_LINUX_BUILD([whether hlist iterators don't need a node parameter], + [ac_cv_linux_hlist_takes_no_node], + [#include + #include ], + [struct dentry *d = NULL, *cur; + struct inode *ip; + hlist_for_each_entry(cur, &ip->i_dentry, d_alias) { } + ], + [HLIST_ITERATOR_NO_NODE], + [define if hlist iterators don't need a node parameter], + []) +]) + + AC_DEFUN([LINUX_IOP_I_CREATE_TAKES_BOOL], [ AC_CHECK_LINUX_BUILD([whether inode_operations.create takes a bool], [ac_cv_linux_func_i_create_takes_bool],