summaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs/inode.c
diff options
context:
space:
mode:
authorAl Viro2008-07-22 06:07:17 +0200
committerAl Viro2008-07-27 02:53:31 +0200
commitf419a2e3b64def707e1384ee38abb77f99af5f6d (patch)
treeadbe12c510f04cf25ca6f822ee8004c8679a3a63 /fs/ecryptfs/inode.c
parent[PATCH] take noexec checks to very few callers that care (diff)
downloadkernel-qcow2-linux-f419a2e3b64def707e1384ee38abb77f99af5f6d.tar.gz
kernel-qcow2-linux-f419a2e3b64def707e1384ee38abb77f99af5f6d.tar.xz
kernel-qcow2-linux-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/ecryptfs/inode.c')
-rw-r--r--fs/ecryptfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ecryptfs/inode.c b/fs/ecryptfs/inode.c
index f25caf2b0887..89209f00f9c7 100644
--- a/fs/ecryptfs/inode.c
+++ b/fs/ecryptfs/inode.c
@@ -830,7 +830,7 @@ out:
static int
ecryptfs_permission(struct inode *inode, int mask)
{
- return permission(ecryptfs_inode_to_lower(inode), mask, NULL);
+ return inode_permission(ecryptfs_inode_to_lower(inode), mask);
}
/**