Commit c78f4cc5 authored by Al Viro's avatar Al Viro

reiserfs xattr ->d_revalidate() shouldn't care about RCU

... it returns an error unconditionally
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent ae50adcb
...@@ -978,8 +978,6 @@ int reiserfs_permission(struct inode *inode, int mask, unsigned int flags) ...@@ -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) static int xattr_hide_revalidate(struct dentry *dentry, struct nameidata *nd)
{ {
if (nd->flags & LOOKUP_RCU)
return -ECHILD;
return -EPERM; return -EPERM;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment