summaryrefslogtreecommitdiffstats
path: root/fs/9p/xattr.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-01-31 12:34:58 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-26 02:46:05 -0500
commit38baba9ea02780c2df35c7a02552fddeb8576e16 (patch)
tree8e6cd8ecf1c6f1488dceab90015b76e349d4e2af /fs/9p/xattr.h
parent8add862fad426469a04c879bf5bb01f666a3c58e (diff)
downloadlinux-38baba9ea02780c2df35c7a02552fddeb8576e16.tar.gz
linux-38baba9ea02780c2df35c7a02552fddeb8576e16.tar.bz2
linux-38baba9ea02780c2df35c7a02552fddeb8576e16.zip
9p: add fid-based variant of v9fs_xattr_set()
... making v9fs_xattr_set() a wrapper for it. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/9p/xattr.h')
-rw-r--r--fs/9p/xattr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/9p/xattr.h b/fs/9p/xattr.h
index eaa837c53bd5..eec348a3df71 100644
--- a/fs/9p/xattr.h
+++ b/fs/9p/xattr.h
@@ -27,6 +27,8 @@ extern ssize_t v9fs_fid_xattr_get(struct p9_fid *, const char *,
void *, size_t);
extern ssize_t v9fs_xattr_get(struct dentry *, const char *,
void *, size_t);
+extern int v9fs_fid_xattr_set(struct p9_fid *, const char *,
+ const void *, size_t, int);
extern int v9fs_xattr_set(struct dentry *, const char *,
const void *, size_t, int);
extern ssize_t v9fs_listxattr(struct dentry *, char *, size_t);