diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-06-21 09:01:59 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-20 09:43:38 +0400 |
commit | beefebf1aa611242e022e71bae87034f415d3314 (patch) | |
tree | 87f7aaeda400872f42a3ff5560e8ac995bb08970 /fs/ecryptfs/inode.c | |
parent | 729cdb3a1ee03a4363f9c7e66ddd979727e99e1f (diff) | |
download | linux-beefebf1aa611242e022e71bae87034f415d3314.tar.xz |
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); } |