reiserfs xattr ->d_revalidate() shouldn't care about RCU
... it returns an error unconditionally Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
ae50adcb0a
commit
c78f4cc5e7
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue