]> git.proxmox.com Git - mirror_zfs-debian.git/blobdiff - config/kernel-lookup-nameidata.m4
New upstream version 0.7.9
[mirror_zfs-debian.git] / config / kernel-lookup-nameidata.m4
index 43f5fb4cbc7bf9ee97cf02ab43e5963e72fa3c64..5453be5e8e38c7adf169bf1a5baee586da21c4f4 100644 (file)
@@ -5,6 +5,7 @@ AC_DEFUN([ZFS_AC_KERNEL_LOOKUP_NAMEIDATA], [
        AC_MSG_CHECKING([whether iops->lookup() passes nameidata])
        ZFS_LINUX_TRY_COMPILE([
                #include <linux/fs.h>
+               #include <linux/sched.h>
 
                struct dentry *inode_lookup(struct inode *inode,
                    struct dentry *dentry, struct nameidata *nidata)