diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-02-16 10:14:56 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-03-10 03:42:01 -0500 |
commit | c78f4cc5e7d642c7009089817c12d8984e7ba872 (patch) | |
tree | 15fec47edc3e047865e98b5f8c233b1d8d2e063a /fs/reiserfs | |
parent | ae50adcb0ac4cde67a7aec8ae67249d1b2be2948 (diff) | |
download | linux-c78f4cc5e7d642c7009089817c12d8984e7ba872.tar.bz2 |
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/reiserfs')
-rw-r--r-- | fs/reiserfs/xattr.c | 2 |
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; } |