summaryrefslogtreecommitdiff
path: root/libbcache/xattr.h
blob: 429031a8c9e336958f037ccb983063a31045c52e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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 cache_set *, struct inode *,
		  const char *, void *, size_t, int);
int __bch_xattr_set(struct cache_set *, u64, const struct bch_hash_info *,
		  const char *, const void *, size_t, int, int, u64 *);
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 */