Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbppc/evbppc Fix KASSERT() in biodone(). Clear BO...
details: https://anonhg.NetBSD.org/src/rev/0dde58630112
branches: trunk
changeset: 784104:0dde58630112
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Fri Jan 18 14:04:16 2013 +0000
description:
Fix KASSERT() in biodone(). Clear BO_DONE in writedisklabel().
diffstat:
sys/arch/evbppc/evbppc/disksubr.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 6606cbb925d4 -r 0dde58630112 sys/arch/evbppc/evbppc/disksubr.c
--- a/sys/arch/evbppc/evbppc/disksubr.c Fri Jan 18 13:45:51 2013 +0000
+++ b/sys/arch/evbppc/evbppc/disksubr.c Fri Jan 18 14:04:16 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: disksubr.c,v 1.16 2008/01/02 11:48:24 ad Exp $ */
+/* $NetBSD: disksubr.c,v 1.17 2013/01/18 14:04:16 kiyohara Exp $ */
/*
* Copyright (c) 1982, 1986, 1988 Regents of the University of California.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.16 2008/01/02 11:48:24 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.17 2013/01/18 14:04:16 kiyohara Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -248,6 +248,7 @@
*dlp = *lp;
bp->b_cflags = BC_BUSY;
bp->b_flags = B_WRITE;
+ CLR(bp->b_oflags, BO_DONE);
(*strat)(bp);
error = biowait(bp);
goto done;
Home |
Main Index |
Thread Index |
Old Index