From owner-cvs-all Sat Apr 28 5:11: 9 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A470E37B423; Sat, 28 Apr 2001 05:11:06 -0700 (PDT) (envelope-from alfred@FreeBSD.org) Received: (from alfred@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3SCB6k88375; Sat, 28 Apr 2001 05:11:06 -0700 (PDT) (envelope-from alfred) Message-Id: <200104281211.f3SCB6k88375@freefall.freebsd.org> From: Alfred Perlstein Date: Sat, 28 Apr 2001 05:11:06 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_lock.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG alfred 2001/04/28 05:11:05 PDT Modified files: sys/kern kern_lock.c Log: Instead of asserting that a mutex is not still locked after unlocking it, assert that the mutex is owned and not recursed prior to unlocking it. This should give a clearer diagnostic when a programming error is caught. Revision Changes Path 1.46 +2 -2 src/sys/kern/kern_lock.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message