summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2014-06-20 13:23:15 -0400
committerBrian Behlendorf <[email protected]>2014-08-14 12:38:17 -0700
commit194e56234a58fa39c22aada5210f06ddf62c69d5 (patch)
tree1fddac814eaf571ba79b0e0aaec04794f522a6dc
parentdc55d791011b31317ad57ecb36be0a27b7647ef2 (diff)
Include sys/taskq.h in linux/vfs_compat.h
We should have included sys/taskq.h directly because we use the taskq code here, but we instead had files that included sys/taskq.h also include sys/kmem.h, which happened to include sys/taskq.h. sys/kmem.h no longer does this, so we must define the include as we should have done in the first place. Signed-off-by: Richard Yao <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #2411
-rw-r--r--include/linux/vfs_compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/vfs_compat.h b/include/linux/vfs_compat.h
index 37121b623..098cf05f3 100644
--- a/include/linux/vfs_compat.h
+++ b/include/linux/vfs_compat.h
@@ -26,6 +26,8 @@
#ifndef _ZFS_VFS_H
#define _ZFS_VFS_H
+#include <sys/taskq.h>
+
/*
* 2.6.28 API change,
* Added insert_inode_locked() helper function, prior to this most callers