1
2
3
4
5
6
7
8
9
10
11
12
13
14#ifndef FS_9P_XATTR_H
15#define FS_9P_XATTR_H
16
17#include <linux/xattr.h>
18#include <net/9p/9p.h>
19#include <net/9p/client.h>
20
21extern const struct xattr_handler *v9fs_xattr_handlers[];
22extern const struct xattr_handler v9fs_xattr_acl_access_handler;
23extern const struct xattr_handler v9fs_xattr_acl_default_handler;
24
25extern ssize_t v9fs_fid_xattr_get(struct p9_fid *, const char *,
26 void *, size_t);
27extern ssize_t v9fs_xattr_get(struct dentry *, const char *,
28 void *, size_t);
29extern int v9fs_fid_xattr_set(struct p9_fid *, const char *,
30 const void *, size_t, int);
31extern int v9fs_xattr_set(struct dentry *, const char *,
32 const void *, size_t, int);
33extern ssize_t v9fs_listxattr(struct dentry *, char *, size_t);
34#endif
35