diff options
| author | 2007-10-21 15:54:55 +0000 | |
|---|---|---|
| committer | 2007-10-21 15:54:55 +0000 | |
| commit | ddf573ae02031a7ffaadfcc7ffc47e3f188dee31 (patch) | |
| tree | b1df2044b255055b3659aa1aedd7139e1d09a9ad /sys/kern/vfs_bio.c | |
| parent | Take even more care to ensure the max message size is at (diff) | |
| download | wireguard-openbsd-ddf573ae02031a7ffaadfcc7ffc47e3f188dee31.tar.xz wireguard-openbsd-ddf573ae02031a7ffaadfcc7ffc47e3f188dee31.zip | |
This QUEUE_DEBUG should really be DIAGNOSTIC - we need these checks
normally.
ok deraadt@ tedu@ otto@
Diffstat (limited to 'sys/kern/vfs_bio.c')
| -rw-r--r-- | sys/kern/vfs_bio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index fffb0a5db25..8b2720b36b6 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_bio.c,v 1.101 2007/10/18 20:26:55 beck Exp $ */ +/* $OpenBSD: vfs_bio.c,v 1.102 2007/10/21 15:54:55 beck Exp $ */ /* $NetBSD: vfs_bio.c,v 1.44 1996/06/11 11:15:36 pk Exp $ */ /*- @@ -306,7 +306,7 @@ buf_put(struct buf *bp) if (bp->b_data != NULL) KASSERT(bp->b_bufsize > 0); #endif -#ifdef QUEUE_MACRO_DEBUG +#ifdef DIAGNOSTIC if (bp->b_freelist.tqe_next != NOLIST && bp->b_freelist.tqe_next != (void *)-1) panic("buf_put: still on the free list"); |
