Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Mar 2008 23:36:26 +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_vnops.c
Message-ID:  <200803292336.m2TNaQ46096584@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jeff        2008-03-29 23:36:26 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_vnops.c 
  Log:
   - Don't allow calls to vn_lock() with no lock type requested.  Callers
     which simply want a reference should use vref().  Callers which want
     to check validity need to hold a lock while performing any action
     based on that validity.  vn_lock() would always release the interlock
     before returning making any action synchronous with the validity check
     impossible.
  
  Revision  Changes    Path
  1.260     +4 -14     src/sys/kern/vfs_vnops.c



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