Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Catch up with B_* flag name changes in debug code.
details: https://anonhg.NetBSD.org/src/rev/73d26ab2a792
branches: trunk
changeset: 765423:73d26ab2a792
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Thu May 26 04:51:57 2011 +0000
description:
Catch up with B_* flag name changes in debug code.
diffstat:
sys/kern/vfs_wapbl.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (38 lines):
diff -r d6f270dd977b -r 73d26ab2a792 sys/kern/vfs_wapbl.c
--- a/sys/kern/vfs_wapbl.c Thu May 26 04:29:18 2011 +0000
+++ b/sys/kern/vfs_wapbl.c Thu May 26 04:51:57 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_wapbl.c,v 1.43 2011/02/20 11:21:34 nakayama Exp $ */
+/* $NetBSD: vfs_wapbl.c,v 1.44 2011/05/26 04:51:57 uebayasi Exp $ */
/*-
* Copyright (c) 2003, 2008, 2009 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
#define WAPBL_INTERNAL
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_wapbl.c,v 1.43 2011/02/20 11:21:34 nakayama Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_wapbl.c,v 1.44 2011/05/26 04:51:57 uebayasi Exp $");
#include <sys/param.h>
#include <sys/bitops.h>
@@ -1245,14 +1245,14 @@
}
#ifdef ohbother
- KDASSERT(bp->b_flags & B_DONE);
- KDASSERT(!(bp->b_flags & B_DELWRI));
+ KDASSERT(bp->b_oflags & BO_DONE);
+ KDASSERT(!(bp->b_oflags & BO_DELWRI));
KDASSERT(bp->b_flags & B_ASYNC);
- KDASSERT(bp->b_flags & B_BUSY);
+ KDASSERT(bp->b_cflags & BC_BUSY);
KDASSERT(!(bp->b_flags & B_LOCKED));
KDASSERT(!(bp->b_flags & B_READ));
- KDASSERT(!(bp->b_flags & B_INVAL));
- KDASSERT(!(bp->b_flags & B_NOCACHE));
+ KDASSERT(!(bp->b_cflags & BC_INVAL));
+ KDASSERT(!(bp->b_cflags & BC_NOCACHE));
#endif
if (bp->b_error) {
Home |
Main Index |
Thread Index |
Old Index