Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Mar 2005 12:59:06 +0000 (UTC)
From:      Jeff Roberson <jeff@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_cache.c
Message-ID:  <200503291259.j2TCx6PJ039962@repoman.freebsd.org>

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



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