reiserfs xattr ->d_revalidate() shouldn't care about RCU
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 16 Feb 2011 15:14:56 +0000 (10:14 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 10 Mar 2011 08:42:01 +0000 (03:42 -0500)
... it returns an error unconditionally

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/reiserfs/xattr.c

index 3cfb2e93364424886f94807a15031dc90362142d..5c11ca82b7821c55050f0032f55e81d8cdacdcdf 100644 (file)
@@ -978,8 +978,6 @@ int reiserfs_permission(struct inode *inode, int mask, unsigned int flags)
 
 static int xattr_hide_revalidate(struct dentry *dentry, struct nameidata *nd)
 {
-       if (nd->flags & LOOKUP_RCU)
-               return -ECHILD;
        return -EPERM;
 }