git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs: rcu-walk aware d_revalidate method
[pandora-kernel.git]
/
fs
/
reiserfs
/
xattr.c
diff --git
a/fs/reiserfs/xattr.c
b/fs/reiserfs/xattr.c
index
e0f0d7e
..
9ea22a5
100644
(file)
--- a/
fs/reiserfs/xattr.c
+++ b/
fs/reiserfs/xattr.c
@@
-972,6
+972,8
@@
int reiserfs_permission(struct inode *inode, int mask)
static int xattr_hide_revalidate(struct dentry *dentry, struct nameidata *nd)
{
+ if (nd->flags & LOOKUP_RCU)
+ return -ECHILD;
return -EPERM;
}