projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
VFS: normal filesystems (and lustre): d_inode() annotations
[linux-2.6-block.git]
/
fs
/
kernfs
/
dir.c
diff --git
a/fs/kernfs/dir.c
b/fs/kernfs/dir.c
index 6acc9648f9869727dc9fb030d281d37bffdf3277..f131fc23ffc4c18f03a9764973fa998bf0e5f79e 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 */
- if (
!dentry->d_inode
)
+ if (
d_really_is_negative(dentry)
)
goto out_bad_unlocked;
kn = dentry->d_fsdata;