cvs commit: src/sys/sys mutex.h

John Baldwin jhb at
Wed Apr 11 13:44:55 UTC 2007

jhb         2007-04-11 13:44:55 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              mutex.h 
  Group the loop to acquire/release Giant with the WITNESS_SAVE/RESTORE under
  a single conditional.  The two operations are linked, but since the link
  is not very direct, Coverity can't see it.  Humans might also miss the
  link as well.  So, this isn't fixing any actual bugs, just improving
  CID:            1787 (likely others as well)
  Found by:       Coverity Prevent (tm)
  Revision  Changes    Path
  1.95      +10 -8     src/sys/sys/mutex.h

More information about the cvs-src mailing list