summaryrefslogtreecommitdiff
path: root/fs/bcachefs/xattr.h
blob: 675529d328d087fb1525dce030f1874f0574b984 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _BCACHE_XATTR_H
#define _BCACHE_XATTR_H

extern const struct btree_keys_ops bch_xattr_ops;
extern const struct bkey_ops bch_bkey_xattr_ops;

struct dentry;
struct xattr_handler;

int bch_xattr_get(struct inode *, const char *, void *, size_t, int);
int bch_xattr_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 */