summaryrefslogtreecommitdiff
path: root/libbcache/xattr.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbcache/xattr.h')
-rw-r--r--libbcache/xattr.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/libbcache/xattr.h b/libbcache/xattr.h
new file mode 100644
index 0000000..54eb920
--- /dev/null
+++ b/libbcache/xattr.h
@@ -0,0 +1,17 @@
+#ifndef _BCACHE_XATTR_H
+#define _BCACHE_XATTR_H
+
+extern const struct bkey_ops bch_bkey_xattr_ops;
+
+struct dentry;
+struct xattr_handler;
+
+int bch_xattr_get(struct cache_set *, struct inode *,
+ const char *, void *, size_t, int);
+int bch_xattr_set(struct cache_set *, struct inode *,
+ const char *, const void *, size_t, int, int);
+ssize_t bch_xattr_list(struct dentry *, char *, size_t);
+
+extern const struct xattr_handler *bch_xattr_handlers[];
+
+#endif /* _BCACHE_XATTR_H */