diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-06-21 07:01:59 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-20 07:43:38 +0200 |
commit | beefebf1aa611242e022e71bae87034f415d3314 (patch) | |
tree | 87f7aaeda400872f42a3ff5560e8ac995bb08970 /fs/ecryptfs/inode.c | |
parent | kill IPERM_FLAG_RCU (diff) | |
download | linux-beefebf1aa611242e022e71bae87034f415d3314.tar.xz linux-beefebf1aa611242e022e71bae87034f415d3314.zip |
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>
Diffstat (limited to 'fs/ecryptfs/inode.c')
-rw-r--r-- | fs/ecryptfs/inode.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ecryptfs/inode.c b/fs/ecryptfs/inode.c index bec75f8e91ac..799e01055f22 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); } |