Commit 1d29b5a2ed7eb8862c9b66daf475f3e4c1a40299

Authored by Al Viro
1 parent cf12791116

reiserfs_permission() doesn't need to bail out in RCU mode

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>

Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff

... ... @@ -954,8 +954,6 @@
954 954  
955 955 int reiserfs_permission(struct inode *inode, int mask, unsigned int flags)
956 956 {
957   - if (flags & IPERM_FLAG_RCU)
958   - return -ECHILD;
959 957 /*
960 958 * We don't do permission checks on the internal objects.
961 959 * Permissions are determined by the "owning" object.