cvs commit: src/sys/kern vfs_cache.c
Jeff Roberson
jroberson at chesapeake.net
Tue Mar 29 02:23:13 PST 2005
On Tue, 29 Mar 2005, David Malone wrote:
> On Tue, Mar 29, 2005 at 09:58:41AM +0000, Jeff Roberson wrote:
> > Log:
> > - Invalidate the childrens v_dd pointers when we cache_purge() a directory.
> > Otherwise the stale pointer may be accessed after a vnode is freed.
>
> I guess this has no impact on how likely we are to have a call to
> realpath work because in the old version the generation number of
> the vnode would have changed anyway?
Yes, that is correct. This change eliminates a dependency on type-stable
vnode storage that I missed.
>
> David.
>
More information about the cvs-src
mailing list