new mba stuff
[unix-history] / usr / src / sys / kern / vfs_cluster.c
index a7b3f4c..bc60d99 100644 (file)
@@ -1,4 +1,4 @@
-/*     vfs_cluster.c   3.    %G%     */
+/*     vfs_cluster.c   3.10    %G%     */
 
 #include "../h/param.h"
 #include "../h/systm.h"
 
 #include "../h/param.h"
 #include "../h/systm.h"
@@ -487,6 +487,8 @@ register struct buf *bp;
 {
        register int s;
 
 {
        register int s;
 
+       if (bp->b_flags & B_DONE)
+               panic("dup iodone");
        bp->b_flags |= B_DONE;
        if (bp->b_flags & B_DIRTY) {
                if (bp->b_flags & B_ERROR)
        bp->b_flags |= B_DONE;
        if (bp->b_flags & B_DIRTY) {
                if (bp->b_flags & B_ERROR)