3 dnl # struct access f->f_dentry->d_inode was replaced by accessor function
6 AC_DEFUN([ZFS_AC_KERNEL_FILE_INODE], [
7 AC_MSG_CHECKING([whether file_inode() is available])
8 ZFS_LINUX_TRY_COMPILE([
11 struct file *f = NULL;
15 AC_DEFINE(HAVE_FILE_INODE, 1, [file_inode() is available])