cvs commit: src/sys/kern vfs_cache.c

Jeff Roberson jeff at FreeBSD.org
Tue Mar 29 04:59:07 PST 2005


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