projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'iwlwifi-for-kalle-2015-05-28' of https://git.kernel.org/pub/scm/linux...
[cascardo/linux.git]
/
fs
/
kernfs
/
dir.c
diff --git
a/fs/kernfs/dir.c
b/fs/kernfs/dir.c
index
6acc964
..
f131fc2
100644
(file)
--- a/
fs/kernfs/dir.c
+++ b/
fs/kernfs/dir.c
@@
-444,7
+444,7
@@
static int kernfs_dop_revalidate(struct dentry *dentry, unsigned int flags)
return -ECHILD;
/* Always perform fresh lookup for negatives */
return -ECHILD;
/* Always perform fresh lookup for negatives */
- if (
!dentry->d_inode
)
+ if (
d_really_is_negative(dentry)
)
goto out_bad_unlocked;
kn = dentry->d_fsdata;
goto out_bad_unlocked;
kn = dentry->d_fsdata;