aboutsummaryrefslogtreecommitdiffstats
path: root/zfs_config.h.in
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-02-11 10:33:01 -0800
committerBrian Behlendorf <[email protected]>2011-02-11 10:41:00 -0800
commitf9637c6c8b9c452c440a366aa937b363f027d95e (patch)
tree3d2a3c0e58753715c8f603beb25351f74d76c76b /zfs_config.h.in
parent7268e1bec8478639b7a1047e02ab931f30bc2f92 (diff)
Linux 2.6.33 compat, get/set xattr callbacks
The xattr handler prototypes were sanitized with the idea being that the same handlers could be used for multiple methods. The result of this was the inode type was changes to a dentry, and both the get() and set() hooks had a handler_flags argument added. The list() callback was similiarly effected but no autoconf check was added because we do not use the list() callback.
Diffstat (limited to 'zfs_config.h.in')
-rw-r--r--zfs_config.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/zfs_config.h.in b/zfs_config.h.in
index fd7bd668c..d6999bbda 100644
--- a/zfs_config.h.in
+++ b/zfs_config.h.in
@@ -60,6 +60,12 @@
/* super_block uses const struct xattr_hander */
#undef HAVE_CONST_XATTR_HANDLER
+/* xattr_handler->get() wants dentry */
+#undef HAVE_DENTRY_XATTR_GET
+
+/* xattr_handler->set() wants dentry */
+#undef HAVE_DENTRY_XATTR_SET
+
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H