Re: dcache problems with vfat

Magnus Ahltorp (map@stacken.kth.se)
06 Jan 1999 06:33:28 +0100


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

Are these lists only documented in code, or are they documented
somewhere else? It's not very easy to get hold of what all these lists
do when you see them for the first time. The only way I have learnt
about this it through reading the code many, many times, but by this
way, no "spirit" is given from the designer to the programmer.

A 2.2 vfs spirit document would be a nice thing. It doesn't have to
contain much, just the things that the code doesn't say. Some
explanations are good, too.

Richard Gooch <rgooch@atnf.csiro.au> has written a document on this
(somewhat obsolete), but it doesn't contain very much about the inner
workings in the vfs, only shallow things.

Or is this just unnecessary?

/Magnus
map@stacken.kth.se

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