projects
/
wrapfs-4.13.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88208b7
)
Wrapfs: support LOOKUP_RCU in ->d_revalidate
author
Erez Zadok
<ezk@cs.sunysb.edu>
Tue, 6 Sep 2011 04:10:29 +0000
(
00:10
-0400)
committer
Rohit Kumar
<rokkumar@cs.stonybrook.edu>
Fri, 12 Oct 2018 16:28:03 +0000
(12:28 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/wrapfs/dentry.c
patch
|
blob
|
history
diff --git
a/fs/wrapfs/dentry.c
b/fs/wrapfs/dentry.c
index 546ef284bebd35ef7e5d924b7aa62410cd4e120e..b173153c445baeca6b8aeee4bd054718f906a43c 100644
(file)
--- a/
fs/wrapfs/dentry.c
+++ b/
fs/wrapfs/dentry.c
@@
-22,6
+22,9
@@
static int wrapfs_d_revalidate(struct dentry *dentry, struct nameidata *nd)
struct dentry *lower_dentry;
int err = 1;
+ if (nd && nd->flags & LOOKUP_RCU)
+ return -ECHILD;
+
wrapfs_get_lower_path(dentry, &lower_path);
lower_dentry = lower_path.dentry;
if (!lower_dentry->d_op || !lower_dentry->d_op->d_revalidate)