bcachefs-tools/libbcache/xattr.h
2017-03-10 12:40:01 -09:00

21 lines
627 B
C

#ifndef _BCACHE_XATTR_H
#define _BCACHE_XATTR_H
extern const struct bkey_ops bch_bkey_xattr_ops;
struct dentry;
struct xattr_handler;
struct bch_hash_info;
int bch_xattr_get(struct bch_fs *, struct inode *,
const char *, void *, size_t, int);
int __bch_xattr_set(struct bch_fs *, u64, const struct bch_hash_info *,
const char *, const void *, size_t, int, int, u64 *);
int bch_xattr_set(struct bch_fs *, 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 */