Skip to content

Commit

Permalink
reiserfs_permission() doesn't need to bail out in RCU mode
Browse files Browse the repository at this point in the history
nothing blocking other than generic_permission() (and
check_acl callback does bail out in RCU mode).

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Jun 20, 2011
1 parent cf12791 commit 1d29b5a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/reiserfs/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -954,8 +954,6 @@ static int xattr_mount_check(struct super_block *s)

int reiserfs_permission(struct inode *inode, int mask, unsigned int flags)
{
if (flags & IPERM_FLAG_RCU)
return -ECHILD;
/*
* We don't do permission checks on the internal objects.
* Permissions are determined by the "owning" object.
Expand Down

0 comments on commit 1d29b5a

Please sign in to comment.