cvs commit: src/sys/kern kern_lock.c

Attilio Rao attilio at FreeBSD.org
Fri Jan 11 08:38:14 PST 2008


attilio     2008-01-11 16:38:13 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_lock.c 
  Log:
  lockmgr() function will return successfully when trying to work under
  panic but it won't actually lock anything.
  This can lead some paths to reach lockmgr_disown() with inconsistent
  lock which will let trigger the relative assertions.
  
  Fix those in order to recognize panic situation and to not trigger.
  
  Reported by: pho
  Submitted by: kib
  
  Revision  Changes    Path
  1.119     +6 -3      src/sys/kern/kern_lock.c


More information about the cvs-all mailing list