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 struct xattr_handler v9fs_xattr_user_handler;
23extern const struct xattr_handler v9fs_xattr_acl_access_handler;
24extern const struct xattr_handler v9fs_xattr_acl_default_handler;
25
26extern ssize_t v9fs_fid_xattr_get(struct p9_fid *, const char *,
27 void *, size_t);
28extern ssize_t v9fs_xattr_get(struct dentry *, const char *,
29 void *, size_t);
30extern int v9fs_xattr_set(struct dentry *, const char *,
31 const void *, size_t, int);
32extern ssize_t v9fs_listxattr(struct dentry *, char *, size_t);
33#endif
34