Browse Source

reiserfs xattr ->d_revalidate() shouldn't care about RCU

... it returns an error unconditionally

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 14 years ago
parent
commit
c78f4cc5e7
1 changed files with 0 additions and 2 deletions
  1. 0 2
      fs/reiserfs/xattr.c

+ 0 - 2
fs/reiserfs/xattr.c

@@ -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)
 static int xattr_hide_revalidate(struct dentry *dentry, struct nameidata *nd)
 {
 {
-	if (nd->flags & LOOKUP_RCU)
-		return -ECHILD;
 	return -EPERM;
 	return -EPERM;
 }
 }