Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/miscfs/genfs genfs_do_putpages(): When testing an uobjec...
details: https://anonhg.NetBSD.org/src/rev/f744d63b45fe
branches: trunk
changeset: 759241:f744d63b45fe
user: hannken <hannken%NetBSD.org@localhost>
date: Fri Dec 03 08:42:14 2010 +0000
description:
genfs_do_putpages(): When testing an uobject for dirty or modified
pages skip uninitialized (PG_FAKE) pages (DEBUG only).
diffstat:
sys/miscfs/genfs/genfs_io.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r face77de32b6 -r f744d63b45fe sys/miscfs/genfs/genfs_io.c
--- a/sys/miscfs/genfs/genfs_io.c Fri Dec 03 05:23:46 2010 +0000
+++ b/sys/miscfs/genfs/genfs_io.c Fri Dec 03 08:42:14 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: genfs_io.c,v 1.44 2010/11/30 10:55:25 hannken Exp $ */
+/* $NetBSD: genfs_io.c,v 1.45 2010/12/03 08:42:14 hannken Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfs_io.c,v 1.44 2010/11/30 10:55:25 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfs_io.c,v 1.45 2010/12/03 08:42:14 hannken Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1224,7 +1224,7 @@
(vp->v_iflag & VI_ONWORKLST) != 0) {
#if defined(DEBUG)
TAILQ_FOREACH(pg, &uobj->memq, listq.queue) {
- if ((pg->flags & PG_MARKER) != 0) {
+ if ((pg->flags & (PG_FAKE | PG_MARKER)) != 0) {
continue;
}
if ((pg->flags & PG_CLEAN) == 0) {
Home |
Main Index |
Thread Index |
Old Index