diff options
Diffstat (limited to 'libbcachefs/xattr.h')
-rw-r--r-- | libbcachefs/xattr.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libbcachefs/xattr.h b/libbcachefs/xattr.h new file mode 100644 index 00000000..14eba241 --- /dev/null +++ b/libbcachefs/xattr.h @@ -0,0 +1,20 @@ +#ifndef _BCACHE_XATTR_H +#define _BCACHE_XATTR_H + +extern const struct bkey_ops bch2_bkey_xattr_ops; + +struct dentry; +struct xattr_handler; +struct bch_hash_info; + +int bch2_xattr_get(struct bch_fs *, struct inode *, + const char *, void *, size_t, int); +int __bch2_xattr_set(struct bch_fs *, u64, const struct bch_hash_info *, + const char *, const void *, size_t, int, int, u64 *); +int bch2_xattr_set(struct bch_fs *, struct inode *, + const char *, const void *, size_t, int, int); +ssize_t bch2_xattr_list(struct dentry *, char *, size_t); + +extern const struct xattr_handler *bch2_xattr_handlers[]; + +#endif /* _BCACHE_XATTR_H */ |