Created
May 19, 2016 03:58
-
-
Save coypoop/a0cac3a2e672834d1cfac573ab5f33e7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From acb30a8ca6fc2e5cee11afd3c3e3903336b2c382 Mon Sep 17 00:00:00 2001 | |
From: coypu <coypu@sdf.org> | |
Date: Thu, 19 May 2016 06:56:33 +0300 | |
Subject: [PATCH 1/1] Enable somewhat excessive diagnostic asserts | |
They do not trigger panics. | |
--- | |
sys/kern/vfs_wapbl.c | 2 -- | |
1 file changed, 2 deletions(-) | |
diff --git a/sys/kern/vfs_wapbl.c b/sys/kern/vfs_wapbl.c | |
index e983fb6..7512df3 100644 | |
--- a/sys/kern/vfs_wapbl.c | |
+++ b/sys/kern/vfs_wapbl.c | |
@@ -1418,7 +1418,6 @@ wapbl_biodone(struct buf *bp) | |
return; | |
} | |
-#ifdef ohbother | |
KDASSERT(bp->b_oflags & BO_DONE); | |
KDASSERT(!(bp->b_oflags & BO_DELWRI)); | |
KDASSERT(bp->b_flags & B_ASYNC); | |
@@ -1427,7 +1426,6 @@ wapbl_biodone(struct buf *bp) | |
KDASSERT(!(bp->b_flags & B_READ)); | |
KDASSERT(!(bp->b_cflags & BC_INVAL)); | |
KDASSERT(!(bp->b_cflags & BC_NOCACHE)); | |
-#endif | |
if (bp->b_error) { | |
/* | |
-- | |
2.8.1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment