projects
/
wrapfs-4.2.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
546c5f0
)
Wrapfs: use DCACHE_OP_REVALIDATE flag in ->d_revalidate
author
Erez Zadok
<ezk@cs.sunysb.edu>
Tue, 19 Nov 2013 22:23:31 +0000
(17:23 -0500)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Sun, 3 Apr 2016 19:23:27 +0000
(15:23 -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 ed1a0cb9f0ce38d10754797cb54d4d3758457654..196c6eb8f9aedb450748a19ca9199cbaee5f61a9 100644
(file)
--- a/
fs/wrapfs/dentry.c
+++ b/
fs/wrapfs/dentry.c
@@
-27,7
+27,7
@@
static int wrapfs_d_revalidate(struct dentry *dentry, unsigned int flags)
wrapfs_get_lower_path(dentry, &lower_path);
lower_dentry = lower_path.dentry;
- if (!
lower_dentry->d_op || !lower_dentry->d_op->d_revalidate
)
+ if (!
(lower_dentry->d_flags & DCACHE_OP_REVALIDATE)
)
goto out;
err = lower_dentry->d_op->d_revalidate(lower_dentry, flags);
out: