Skip to content

Commit

Permalink
reiserfs xattr ->d_revalidate() shouldn't care about RCU
Browse files Browse the repository at this point in the history
... it returns an error unconditionally

Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Mar 10, 2011
1 parent ae50adc commit c78f4cc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/reiserfs/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit c78f4cc

Please sign in to comment.