3 dnl # Add support for i_op->tmpfile
5 AC_DEFUN([ZFS_AC_KERNEL_TMPFILE], [
6 AC_MSG_CHECKING([whether i_op->tmpfile() exists])
7 ZFS_LINUX_TRY_COMPILE([
9 int tmpfile(struct inode *inode, struct dentry *dentry,
10 umode_t mode) { return 0; }
11 static struct inode_operations
12 iops __attribute__ ((unused)) = {
18 AC_DEFINE(HAVE_TMPFILE, 1,
19 [i_op->tmpfile() exists])