summaryrefslogtreecommitdiffstats
path: root/config/kernel-create-nameidata.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config/kernel-create-nameidata.m4')
-rw-r--r--config/kernel-create-nameidata.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/config/kernel-create-nameidata.m4 b/config/kernel-create-nameidata.m4
index a71490a00..d4c155c57 100644
--- a/config/kernel-create-nameidata.m4
+++ b/config/kernel-create-nameidata.m4
@@ -5,6 +5,7 @@ AC_DEFUN([ZFS_AC_KERNEL_CREATE_NAMEIDATA], [
AC_MSG_CHECKING([whether iops->create() passes nameidata])
ZFS_LINUX_TRY_COMPILE([
#include <linux/fs.h>
+ #include <linux/sched.h>
#ifdef HAVE_MKDIR_UMODE_T
int inode_create(struct inode *inode ,struct dentry *dentry,