aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2000-07-25 18:28:46 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2000-07-25 18:28:46 +0000
commit54e53ebda75a5bc6d5b3d082b8a0cf905a6a600f (patch)
tree411024acc910a7317aee159fdbacd6d9ca8f8e0c
parent2abceb04024f340eb2b5acad638555a0ab424647 (diff)
Notes
-rw-r--r--sys/kern/vfs_bio.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 96fbd63ff4a95..99c0754ea8e4d 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;