cvs commit: src/sys/kern vfs_vnops.c

Jeff Roberson jeff at
Sat Mar 29 16:36:27 PDT 2008

jeff        2008-03-29 23:36:26 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_vnops.c 
   - 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
  Revision  Changes    Path
  1.260     +4 -14     src/sys/kern/vfs_vnops.c

More information about the cvs-src mailing list