summaryrefslogtreecommitdiffstats
path: root/config/kernel-lookup-nameidata.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config/kernel-lookup-nameidata.m4')
-rw-r--r--config/kernel-lookup-nameidata.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/config/kernel-lookup-nameidata.m4 b/config/kernel-lookup-nameidata.m4
index 43f5fb4cb..5453be5e8 100644
--- a/config/kernel-lookup-nameidata.m4
+++ b/config/kernel-lookup-nameidata.m4
@@ -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)