cvs commit: src/sys/kern vfs_lookup.c

Robert Watson rwatson at FreeBSD.org
Wed Aug 4 11:39:07 PDT 2004


rwatson     2004-08-04 18:39:07 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_lookup.c 
  Log:
  Assert Giant in namei().  Bugs have been reported in which, following
  a sleep() call waking up in namei(), a later assertion triggers that
  Giant is not held.  By asserting Giant at the start of namei(), we can
  know that if that assertion triggers, Giant is lost during the call to
  namei(), and not before.
  
  Revision  Changes    Path
  1.64      +2 -0      src/sys/kern/vfs_lookup.c


More information about the cvs-src mailing list