summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-06-21 01:01:59 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2011-07-20 01:43:38 -0400
commitbeefebf1aa611242e022e71bae87034f415d3314 (patch)
tree87f7aaeda400872f42a3ff5560e8ac995bb08970
parent729cdb3a1ee03a4363f9c7e66ddd979727e99e1f (diff)
downloadop-kernel-dev-beefebf1aa611242e022e71bae87034f415d3314.zip
op-kernel-dev-beefebf1aa611242e022e71bae87034f415d3314.tar.gz
ecryptfs_inode_permission() doesn't need to bail out on RCU
... now that inode_permission() can take MAY_NOT_BLOCK and handle it properly. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/ecryptfs/inode.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ecryptfs/inode.c b/fs/ecryptfs/inode.c
index bec75f8..799e010 100644
--- a/fs/ecryptfs/inode.c
+++ b/fs/ecryptfs/inode.c
@@ -944,8 +944,6 @@ int ecryptfs_truncate(struct dentry *dentry, loff_t new_length)
static int
ecryptfs_permission(struct inode *inode, int mask)
{
- if (mask & MAY_NOT_BLOCK)
- return -ECHILD;
return inode_permission(ecryptfs_inode_to_lower(inode), mask);
}
OpenPOWER on IntegriCloud