diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-01-31 17:34:58 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-26 07:46:05 (GMT) |
commit | 38baba9ea02780c2df35c7a02552fddeb8576e16 (patch) | |
tree | 8e6cd8ecf1c6f1488dceab90015b76e349d4e2af /fs/9p/xattr.h | |
parent | 8add862fad426469a04c879bf5bb01f666a3c58e (diff) | |
download | linux-38baba9ea02780c2df35c7a02552fddeb8576e16.tar.xz |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/9p/xattr.h b/fs/9p/xattr.h index eaa837c..eec348a 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); |