Re: dcache problems with vfat

Linus Torvalds (torvalds@transmeta.com)
Tue, 5 Jan 1999 11:43:28 -0800 (PST)


On Tue, 5 Jan 1999, Alexander Viro wrote:
>
> It has children. d_count is greater than 1 and d_invalidate()
> doesn't try to shrink_dcache_parent().

Oh, crap. The list_empty(&dentry->d_subdirs) test in d_invalidate() should
be a test for d_children, not d_subdirs!

Does that fix it for you (just change the two occurrences of d_subdirs to
d_child in d_invalidate())?

Linus

-
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/