summaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ecryptfs')
-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 f25caf2..89209f0 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);
}
/**
OpenPOWER on IntegriCloud