]> git.sesse.net Git - bcachefs-tools-debian/blob - libbcache/xattr.h
bcache in userspace; userspace fsck
[bcachefs-tools-debian] / libbcache / xattr.h
1 #ifndef _BCACHE_XATTR_H
2 #define _BCACHE_XATTR_H
3
4 extern const struct bkey_ops bch_bkey_xattr_ops;
5
6 struct dentry;
7 struct xattr_handler;
8
9 int bch_xattr_get(struct cache_set *, struct inode *,
10                   const char *, void *, size_t, int);
11 int bch_xattr_set(struct cache_set *, struct inode *,
12                   const char *, const void *, size_t, int, int);
13 ssize_t bch_xattr_list(struct dentry *, char *, size_t);
14
15 extern const struct xattr_handler *bch_xattr_handlers[];
16
17 #endif /* _BCACHE_XATTR_H */