cvs commit: src/sys/kern vfs_cache.c
Jeff Roberson
jroberson at chesapeake.net
Tue Mar 29 05:01:36 PST 2005
On Tue, 29 Mar 2005, Jeff Roberson wrote:
> jeff 2005-03-29 12:59:06 UTC
>
> FreeBSD src repository
>
> Modified files:
> sys/kern vfs_cache.c
> Log:
> - Move the logic that locks and refs the new vnode from vfs_cache_lookup()
> to cache_lookup(). This allows us to acquire the vnode interlock before
> dropping the cache lock. This protects the vnodes identity until we
> have locked it.
>
Almost forgot, thanks to David Schultz for pointing this race out to me.
> Sponsored by: Isilon Systems, Inc.
>
> Revision Changes Path
> 1.96 +33 -35 src/sys/kern/vfs_cache.c
>
More information about the cvs-src
mailing list