4 AC_DEFUN([ZFS_AC_KERNEL_CREATE_NAMEIDATA], [
5 AC_MSG_CHECKING([whether iops->create() passes nameidata])
6 ZFS_LINUX_TRY_COMPILE([
9 #ifdef HAVE_MKDIR_UMODE_T
10 int inode_create(struct inode *inode ,struct dentry *dentry,
11 umode_t umode, struct nameidata *nidata) { return 0; }
13 int inode_create(struct inode *inode,struct dentry *dentry,
14 int umode, struct nameidata * nidata) { return 0; }
17 static const struct inode_operations
18 iops __attribute__ ((unused)) = {
19 .create = inode_create,
24 AC_DEFINE(HAVE_CREATE_NAMEIDATA, 1,
25 [iops->create() passes nameidata])