From 54e53ebda75a5bc6d5b3d082b8a0cf905a6a600f Mon Sep 17 00:00:00 2001
From: Kirk McKusick <mckusick@FreeBSD.org>
Date: Tue, 25 Jul 2000 18:28:46 +0000
Subject: [PATCH] Now that buffer locks can be recursive, we need to delete the
 panics that complain about them.

Obtained from:	Brian Fundakowski Feldman <green@FreeBSD.org>
---
 sys/kern/vfs_bio.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 96fbd63ff4a9..99c0754ea8e4 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -1067,9 +1067,6 @@ brelse(struct buf * bp)
 	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 @@ bqrelse(struct buf * bp)
 		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;