Skip to content

Commit beefebf

Browse files
author
Al Viro
committed
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>
1 parent 729cdb3 commit beefebf

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎fs/ecryptfs/inode.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -944,8 +944,6 @@ int ecryptfs_truncate(struct dentry *dentry, loff_t new_length)
944944
static int
945945
ecryptfs_permission(struct inode *inode, int mask)
946946
{
947-
if (mask & MAY_NOT_BLOCK)
948-
return -ECHILD;
949947
return inode_permission(ecryptfs_inode_to_lower(inode), mask);
950948
}
951949

0 commit comments

Comments
 (0)