summaryrefslogtreecommitdiff
path: root/fs/xattr.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-07-22 00:07:17 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2008-07-26 20:53:31 -0400
commitf419a2e3b64def707e1384ee38abb77f99af5f6d (patch)
treeadbe12c510f04cf25ca6f822ee8004c8679a3a63 /fs/xattr.c
parent30524472c2f728c20d6bf35191042a5d455c0a64 (diff)
downloadlinux-3.10-f419a2e3b64def707e1384ee38abb77f99af5f6d.tar.gz
linux-3.10-f419a2e3b64def707e1384ee38abb77f99af5f6d.tar.bz2
linux-3.10-f419a2e3b64def707e1384ee38abb77f99af5f6d.zip
[PATCH] kill nameidata passing to permission(), rename to inode_permission()
Incidentally, the name that gives hundreds of false positives on grep is not a good idea... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/xattr.c')
-rw-r--r--fs/xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xattr.c b/fs/xattr.c
index 4706a8b1f49..b96222e05ba 100644
--- a/fs/xattr.c
+++ b/fs/xattr.c
@@ -63,7 +63,7 @@ xattr_permission(struct inode *inode, const char *name, int mask)
return -EPERM;
}
- return permission(inode, mask, NULL);
+ return inode_permission(inode, mask);
}
int