#include "fuse_i.h"
#include <linux/xattr.h>
#include <linux/posix_acl_xattr.h>
int fuse_setxattr(struct inode *inode, const char *name, const void *value,
size_t size, int flags, unsigned int extra_flags)
{ … }
ssize_t fuse_getxattr(struct inode *inode, const char *name, void *value,
size_t size)
{ … }
static int fuse_verify_xattr_list(char *list, size_t size)
{ … }
ssize_t fuse_listxattr(struct dentry *entry, char *list, size_t size)
{ … }
int fuse_removexattr(struct inode *inode, const char *name)
{ … }
static int fuse_xattr_get(const struct xattr_handler *handler,
struct dentry *dentry, struct inode *inode,
const char *name, void *value, size_t size)
{ … }
static int fuse_xattr_set(const struct xattr_handler *handler,
struct mnt_idmap *idmap,
struct dentry *dentry, struct inode *inode,
const char *name, const void *value, size_t size,
int flags)
{ … }
static const struct xattr_handler fuse_xattr_handler = …;
const struct xattr_handler * const fuse_xattr_handlers[] = …;