aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-02-16 10:14:56 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2011-03-10 03:42:01 -0500
commitc78f4cc5e7d642c7009089817c12d8984e7ba872 (patch)
tree15fec47edc3e047865e98b5f8c233b1d8d2e063a /fs
parentae50adcb0ac4cde67a7aec8ae67249d1b2be2948 (diff)
downloadlinux-linaro-stable-c78f4cc5e7d642c7009089817c12d8984e7ba872.tar.gz
reiserfs xattr ->d_revalidate() shouldn't care about RCU
... it returns an error unconditionally Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r--fs/reiserfs/xattr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/reiserfs/xattr.c b/fs/reiserfs/xattr.c
index 3cfb2e933644..5c11ca82b782 100644
--- a/fs/reiserfs/xattr.c
+++ b/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;
}