cvs commit: src/sys/sys namei.h

Jeff Roberson jeff at FreeBSD.org
Sun Jul 3 01:09:33 GMT 2005


jeff        2005-01-24 09:57:35 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              namei.h 
  Log:
   - Add two new flags to the nd structure.  MPSAFE indicates that the
     caller may not be holding Giant, and namei() should acquire it as
     necessary.  HASGIANT is used to indicate when namei() is returning
     with a reference to a vnode that requires giant, and giant is locked.
   - Add the macro NDHASGIANT() which can be used in conjunction with
     VFS_UNLOCK_GIANT() in callers who have marked the nd with MPSAFE.
  
  Sponsored By:   Isilon Systems, Inc.
  
  Revision  Changes    Path
  1.43      +20 -16    src/sys/sys/namei.h



More information about the cvs-src mailing list