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(): add a missing call to ...
details: https://anonhg.NetBSD.org/src/rev/bc3ef3f213f1
branches: trunk
changeset: 466262:bc3ef3f213f1
user: ad <ad%NetBSD.org@localhost>
date: Mon Dec 16 18:17:32 2019 +0000
description:
genfs_do_putpages(): add a missing call to uvm_page_array_advance().
Spotted by the automated test runs and:
Reported-by: syzbot+adc1f0ce21bcece5307d%syzkaller.appspotmail.com@localhost
diffstat:
sys/miscfs/genfs/genfs_io.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r f3b214cbc679 -r bc3ef3f213f1 sys/miscfs/genfs/genfs_io.c
--- a/sys/miscfs/genfs/genfs_io.c Mon Dec 16 15:59:04 2019 +0000
+++ b/sys/miscfs/genfs/genfs_io.c Mon Dec 16 18:17:32 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: genfs_io.c,v 1.80 2019/12/16 08:50:42 ad Exp $ */
+/* $NetBSD: genfs_io.c,v 1.81 2019/12/16 18:17:32 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.80 2019/12/16 08:50:42 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfs_io.c,v 1.81 2019/12/16 18:17:32 ad Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -978,6 +978,7 @@
if (pg->flags & (PG_RELEASED|PG_PAGEOUT)) {
wasclean = false;
nextoff = pg->offset + PAGE_SIZE;
+ uvm_page_array_advance(&a);
continue;
}
Home |
Main Index |
Thread Index |
Old Index