Re: dcache problems with vfat

Alexander Viro (viro@math.psu.edu)
Tue, 5 Jan 1999 14:30:24 -0500 (EST)


On Mon, 4 Jan 1999, Linus Torvalds wrote:

>
>
> On Tue, 5 Jan 1999 Andries.Brouwer@cwi.nl wrote:
> >
> > What happens? The "cd /mnt/dir/file" needs the dcache
> > entry of dir, but the revalidate fails because dir was
> > timestamped with the version of /mnt, but that changed
> > when mv ../file . was done. So, the old entry for dir
> > is dropped and a new lookup is done.
>
> Hmm.. The old dentry for dir should not just be dropped, it should be
> released. Now why doesn't that happen? That sounds like the source of the

It has children. d_count is greater than 1 and d_invalidate()
doesn't try to shrink_dcache_parent().
Al

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/