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 15 năm trước cách đây
mục cha
commit
c78f4cc5e7
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  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)
 {
-	if (nd->flags & LOOKUP_RCU)
-		return -ECHILD;
 	return -EPERM;
 }