cvs commit: src/sys/sys namei.h

Jeff Roberson jeff at FreeBSD.org
Mon Jan 24 01:57:36 PST 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