]> Git Repo - linux.git/blobdiff - fs/kernfs/dir.c
Merge tag 'v4.1-rockchip-socfixes1' of git://git.kernel.org/pub/scm/linux/kernel...
[linux.git] / fs / kernfs / dir.c
index 6acc9648f9869727dc9fb030d281d37bffdf3277..f131fc23ffc4c18f03a9764973fa998bf0e5f79e 100644 (file)
@@ -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;
This page took 0.027351 seconds and 4 git commands to generate.