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!  /
 [EMAIL PROTECTED]                    `------------------------------'



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to