diff --git a/fs/ecryptfs/inode.c b/fs/ecryptfs/inode.c index bec75f8e91acb800c882614e4cfdf628136baf75..799e01055f224e5514819da88be00a58ca3ba340 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); }