summaryrefslogtreecommitdiffstats
path: root/zfs_config.h.in
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-03-22 09:55:09 -0700
committerBrian Behlendorf <[email protected]>2011-03-22 12:15:54 -0700
commitbdf4328b04544ac3759d689d0a68e514b6df1025 (patch)
tree226f3aafe87b0a1844426ce9290cbdb3d07fbb08 /zfs_config.h.in
parent3517f0b7e928e1a8e7634828fb92d194ea35004d (diff)
Linux 2.6.28 compat, insert_inode_locked()
Added insert_inode_locked() helper function, prior to this most callers used insert_inode_hash(). The older method doesn't check for collisions in the inode_hashtable but it still acceptible for use. Fallback to using insert_inode_hash() when insert_inode_locked() is unavailable.
Diffstat (limited to 'zfs_config.h.in')
-rw-r--r--zfs_config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/zfs_config.h.in b/zfs_config.h.in
index 442d83c90..938da5694 100644
--- a/zfs_config.h.in
+++ b/zfs_config.h.in
@@ -84,6 +84,9 @@
/* Define to 1 if licensed under the GPL */
#undef HAVE_GPL_ONLY_SYMBOLS
+/* insert_inode_locked() is available */
+#undef HAVE_INSERT_INODE_LOCKED
+
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H