]> git.baikalelectronics.ru Git - kernel.git/commit
Use the right predicate in ->atomic_open() instances
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 5 Jul 2016 13:44:53 +0000 (09:44 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 5 Jul 2016 20:02:23 +0000 (16:02 -0400)
commit38d52000b341133a2e2cf3dec9c285e1f0385697
tree60eef261c45881ff0985f2613047d9d58d20a857
parent67cdf5a8c0d1e87063033bea9387a1c64c63e552
Use the right predicate in ->atomic_open() instances

->atomic_open() can be given an in-lookup dentry *or* a negative one
found in dcache.  Use d_in_lookup() to tell one from another, rather
than d_unhashed().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/9p/vfs_inode.c
fs/9p/vfs_inode_dotl.c
fs/ceph/file.c
fs/cifs/dir.c
fs/fuse/dir.c
fs/gfs2/inode.c
fs/nfs/dir.c