projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use the right predicate in ->atomic_open() instances
[cascardo/linux.git]
/
fs
/
cifs
/
dir.c
diff --git
a/fs/cifs/dir.c
b/fs/cifs/dir.c
index
c3eb998
..
fb0903f
100644
(file)
--- a/
fs/cifs/dir.c
+++ b/
fs/cifs/dir.c
@@
-445,7
+445,7
@@
cifs_atomic_open(struct inode *inode, struct dentry *direntry,
* Check for hashed negative dentry. We have already revalidated
* the dentry and it is fine. No need to perform another lookup.
*/
- if (!d_
unhashed
(direntry))
+ if (!d_
in_lookup
(direntry))
return -ENOENT;
res = cifs_lookup(inode, direntry, 0);