diff options
Diffstat (limited to 'fs/reiserfs/xattr.c')
-rw-r--r-- | fs/reiserfs/xattr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/reiserfs/xattr.c b/fs/reiserfs/xattr.c index e0f0d7ea10a1..9ea22a56cdf1 100644 --- a/fs/reiserfs/xattr.c +++ b/fs/reiserfs/xattr.c | |||
@@ -972,6 +972,8 @@ int reiserfs_permission(struct inode *inode, int mask) | |||
972 | 972 | ||
973 | static int xattr_hide_revalidate(struct dentry *dentry, struct nameidata *nd) | 973 | static int xattr_hide_revalidate(struct dentry *dentry, struct nameidata *nd) |
974 | { | 974 | { |
975 | if (nd->flags & LOOKUP_RCU) | ||
976 | return -ECHILD; | ||
975 | return -EPERM; | 977 | return -EPERM; |
976 | } | 978 | } |
977 | 979 | ||