projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceaec15
)
ecryptfs: check DCACHE_OP_REVALIDATE instead of ->d_op
author
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 15 Sep 2013 23:41:16 +0000
(19:41 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 25 Oct 2013 03:34:47 +0000
(23:34 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ecryptfs/dentry.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ecryptfs/dentry.c
b/fs/ecryptfs/dentry.c
index bf12ba5dd223befe93ce786c3a3848cdf5e38fcd..46e31c92e574dbd0ae38a0badbc6222943f3ebc3 100644
(file)
--- a/
fs/ecryptfs/dentry.c
+++ b/
fs/ecryptfs/dentry.c
@@
-51,7
+51,7
@@
static int ecryptfs_d_revalidate(struct dentry *dentry, unsigned int flags)
return -ECHILD;
lower_dentry = ecryptfs_dentry_to_lower(dentry);
- if (!
lower_dentry->d_op || !lower_dentry->d_op->d_revalidate
)
+ if (!
(lower_dentry->d_flags & DCACHE_OP_REVALIDATE)
)
goto out;
rc = lower_dentry->d_op->d_revalidate(lower_dentry, flags);
if (dentry->d_inode) {