Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2000 10:25:38 -0400 (EDT)
From:      Brian Fundakowski Feldman <green@FreeBSD.org>
To:        Ollivier Robert <roberto@eurocontrol.fr>
Cc:        FreeBSD Current Users' list <freebsd-current@FreeBSD.ORG>, mckusick@mckusick.com
Subject:   Re: Panic: lockmgr: pid 5, not exclusive lock holder 0 unlocking
Message-ID:  <Pine.BSF.4.21.0007251025180.517-100000@green.dyndns.org>
In-Reply-To: <20000725093521.A636@caerdonn.eurocontrol.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
Actually, I'm pretty certain this is the fix:

Index: vfs_bio.c
===================================================================
RCS file: /usr2/ncvs/src/sys/kern/vfs_bio.c,v
retrieving revision 1.260
diff -u -r1.260 vfs_bio.c
--- vfs_bio.c	2000/07/11 22:07:43	1.260
+++ vfs_bio.c	2000/07/25 14:24:26
@@ -1067,9 +1067,6 @@
 	if (bp->b_qindex != QUEUE_NONE)
 		panic("brelse: free buffer onto another queue???");
 	if (BUF_REFCNT(bp) > 1) {
-		/* Temporary panic to verify exclusive locking */
-		/* This panic goes away when we allow shared refs */
-		panic("brelse: multiple refs");
 		/* do not release to free list */
 		BUF_UNLOCK(bp);
 		splx(s);
@@ -1192,7 +1189,6 @@
 		panic("bqrelse: free buffer onto another queue???");
 	if (BUF_REFCNT(bp) > 1) {
 		/* do not release to free list */
-		panic("bqrelse: multiple refs");
 		BUF_UNLOCK(bp);
 		splx(s);
 		return;


--
 Brian Fundakowski Feldman           \  FreeBSD: The Power to Serve!  /
 green@FreeBSD.org                    `------------------------------'



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007251025180.517-100000>