]> git.hungrycats.org Git - linux/commitdiff
Remove d_drop() at dentry revalidate: the callers know when
authorLinus Torvalds <torvalds@home.transmeta.com>
Wed, 31 Jul 2002 11:11:06 +0000 (04:11 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Wed, 31 Jul 2002 11:11:06 +0000 (04:11 -0700)
the d_drop is appropriate.

fs/nfs/dir.c

index fd76950d5d5df465658a66d90106696ac9ad4794..9e0c625fba7fb4a10d7a8ac28dbe6cf7fba4fda4 100644 (file)
@@ -566,7 +566,6 @@ static int nfs_lookup_revalidate(struct dentry * dentry, int flags)
                        goto out_valid;
                shrink_dcache_parent(dentry);
        }
-       d_drop(dentry);
        unlock_kernel();
        dput(parent);
        return 0;