diff options
author | dyson <dyson@FreeBSD.org> | 1996-03-09 07:02:52 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1996-03-09 07:02:52 +0000 |
commit | 27ec9182ba2903551beb0a8abc3165aaa960d16b (patch) | |
tree | ed096f957551b13b3bd6e542b84d7ae676d2c714 /sys/miscfs/specfs | |
parent | d8fdc759f31ef5ac675f3c7dbfb9027aa06785f4 (diff) | |
download | FreeBSD-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/specfs')
-rw-r--r-- | sys/miscfs/specfs/spec_vnops.c | 3 |
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 |