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

extern const struct bkey_ops bch_bkey_xattr_ops;

struct dentry;
struct xattr_handler;

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