summaryrefslogtreecommitdiffstats
path: root/sys/miscfs
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1996-03-09 07:02:52 +0000
committerdyson <dyson@FreeBSD.org>1996-03-09 07:02:52 +0000
commit27ec9182ba2903551beb0a8abc3165aaa960d16b (patch)
treeed096f957551b13b3bd6e542b84d7ae676d2c714 /sys/miscfs
parentd8fdc759f31ef5ac675f3c7dbfb9027aa06785f4 (diff)
downloadFreeBSD-src-27ec9182ba2903551beb0a8abc3165aaa960d16b.zip
FreeBSD-src-27ec9182ba2903551beb0a8abc3165aaa960d16b.tar.gz
Make sure that the zero flag is cleared upon completion of paging I/O.
Diffstat (limited to 'sys/miscfs')
-rw-r--r--sys/miscfs/specfs/spec_vnops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c
index a78298e..180be5f 100644
--- a/sys/miscfs/specfs/spec_vnops.c
+++ b/sys/miscfs/specfs/spec_vnops.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)spec_vnops.c 8.6 (Berkeley) 4/9/94
- * $Id: spec_vnops.c,v 1.26 1995/12/14 09:53:06 phk Exp $
+ * $Id: spec_vnops.c,v 1.27 1996/01/01 20:20:45 phk Exp $
*/
#include <sys/param.h>
@@ -825,6 +825,7 @@ spec_getpages(ap)
pmap_clear_modify(VM_PAGE_TO_PHYS(ap->a_m[i]));
ap->a_m[i]->dirty = 0;
ap->a_m[i]->valid = VM_PAGE_BITS_ALL;
+ ap->a_m[i]->flags &= ~PG_ZERO;
if (i != ap->a_reqpage) {
/*
* Whether or not to leave the page activated is up in
OpenPOWER on IntegriCloud