summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2000-07-25 18:28:46 +0000
committermckusick <mckusick@FreeBSD.org>2000-07-25 18:28:46 +0000
commitb4eb939d51411257860d98e87ff2c6d54e7da532 (patch)
treea924dca6594746472f8505e36e248ec58c799f5a /sys
parent674af77794bb3f1df84721e01ec51ef8de309a54 (diff)
downloadFreeBSD-src-b4eb939d51411257860d98e87ff2c6d54e7da532.zip
FreeBSD-src-b4eb939d51411257860d98e87ff2c6d54e7da532.tar.gz
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>
Diffstat (limited to 'sys')
-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 96fbd63..99c0754 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;
OpenPOWER on IntegriCloud