summaryrefslogtreecommitdiff
path: root/fs/9p/xattr.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-05-27 17:19:30 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2016-05-27 22:39:43 +0300
commit5930122683dff58f0846b0f0405b4bd598a3ba6a (patch)
treee7823a7eefaafb7b6ddc61a7ccc1a1892998310f /fs/9p/xattr.c
parent002354112f1e3cc7400ef48b853aefb90e801588 (diff)
downloadlinux-5930122683dff58f0846b0f0405b4bd598a3ba6a.tar.xz
switch xattr_handler->set() to passing dentry and inode separately
preparation for similar switch in ->setxattr() (see the next commit for rationale). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/9p/xattr.c')
-rw-r--r--fs/9p/xattr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/9p/xattr.c b/fs/9p/xattr.c
index 18c62bae9591..a6bd349bab23 100644
--- a/fs/9p/xattr.c
+++ b/fs/9p/xattr.c
@@ -147,8 +147,9 @@ static int v9fs_xattr_handler_get(const struct xattr_handler *handler,
}
static int v9fs_xattr_handler_set(const struct xattr_handler *handler,
- struct dentry *dentry, const char *name,
- const void *value, size_t size, int flags)
+ struct dentry *dentry, struct inode *inode,
+ const char *name, const void *value,
+ size_t size, int flags)
{
const char *full_name = xattr_full_name(handler, name);