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
/
gfs2
/
inode.c
diff --git
a/fs/gfs2/inode.c
b/fs/gfs2/inode.c
index
21dc784
..
9bad79f
100644
(file)
--- a/
fs/gfs2/inode.c
+++ b/
fs/gfs2/inode.c
@@
-1189,7
+1189,7
@@
static int gfs2_atomic_open(struct inode *dir, struct dentry *dentry,
struct dentry *d;
bool excl = !!(flags & O_EXCL);
- if (!d_
unhashed
(dentry))
+ if (!d_
in_lookup
(dentry))
goto skip_lookup;
d = __gfs2_lookup(dir, dentry, file, opened);