Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Mar 2005 05:23:11 -0500 (EST)
From:      Jeff Roberson <jroberson@chesapeake.net>
To:        David Malone <dwmalone@maths.tcd.ie>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern vfs_cache.c
Message-ID:  <20050329052244.J54623@mail.chesapeake.net>
In-Reply-To: <20050329102154.GA20842@walton.maths.tcd.ie>
References:  <200503290958.j2T9wfq0025519@repoman.freebsd.org> <20050329102154.GA20842@walton.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050329052244.J54623>