reiserfs_permission() doesn't need to bail out in RCU mode
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 19 Jun 2011 00:37:33 +0000 (20:37 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 20 Jun 2011 14:45:21 +0000 (10:45 -0400)
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>
fs/reiserfs/xattr.c

index e8a62f41b458010b6922c763b6644b230b96fac4..d78089690965b3540344ea8fafbd9403fe825cf8 100644 (file)
@@ -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.