Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/miscfs/genfs Correction to previous for DEBUG case.



details:   https://anonhg.NetBSD.org/src/rev/d23900813c63
branches:  trunk
changeset: 967633:d23900813c63
user:      ad <ad%NetBSD.org@localhost>
date:      Mon Dec 16 08:50:42 2019 +0000

description:
Correction to previous for DEBUG case.

diffstat:

 sys/miscfs/genfs/genfs_io.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 394c02bf7a9c -r d23900813c63 sys/miscfs/genfs/genfs_io.c
--- a/sys/miscfs/genfs/genfs_io.c       Mon Dec 16 08:01:20 2019 +0000
+++ b/sys/miscfs/genfs/genfs_io.c       Mon Dec 16 08:50:42 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: genfs_io.c,v 1.79 2019/12/15 21:43:42 ad Exp $ */
+/*     $NetBSD: genfs_io.c,v 1.80 2019/12/16 08:50:42 ad Exp $ */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1993
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfs_io.c,v 1.79 2019/12/15 21:43:42 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfs_io.c,v 1.80 2019/12/16 08:50:42 ad Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1239,6 +1239,7 @@
                        if (pg == NULL) {
                                break;
                        }
+                       uvm_page_array_advance(&a);
                        if ((pg->flags & (PG_FAKE | PG_MARKER)) != 0) {
                                continue;
                        }



Home | Main Index | Thread Index | Old Index