X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=fs%2Fcifs%2Fdir.c;h=fb0903fffc22c8738c34f958beb7784400a93339;hb=00699ad8571afd7fb8bc2c61f67c86c2428680ab;hp=c3eb998a99bd18a2ed9b7b843c99be15fedab9df;hpb=d9241b22b58e012f26dd2244508d9f4837402af0;p=cascardo%2Flinux.git diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c index c3eb998a99bd..fb0903fffc22 100644 --- 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);