diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-02-16 16:14:56 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-03-10 09:42:01 +0100 |
commit | c78f4cc5e7d642c7009089817c12d8984e7ba872 (patch) | |
tree | 15fec47edc3e047865e98b5f8c233b1d8d2e063a /fs/reiserfs | |
parent | /proc/self is never going to be invalidated... (diff) | |
download | linux-c78f4cc5e7d642c7009089817c12d8984e7ba872.tar.xz linux-c78f4cc5e7d642c7009089817c12d8984e7ba872.zip |
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; } |