diff options
author | rvb <rvb@FreeBSD.org> | 1998-09-28 23:58:10 +0000 |
---|---|---|
committer | rvb <rvb@FreeBSD.org> | 1998-09-28 23:58:10 +0000 |
commit | 32f1573bbe7e910017c3d9807edfabf57c7a4083 (patch) | |
tree | 13f1ccda5c353365d75efa8d1a7fdfe53107af29 /sys | |
parent | 6aeb8bcd1deedbaeecd994b3e57fd6c177bcd283 (diff) | |
download | FreeBSD-src-32f1573bbe7e910017c3d9807edfabf57c7a4083.zip FreeBSD-src-32f1573bbe7e910017c3d9807edfabf57c7a4083.tar.gz |
John Dyson approved of this solution; make vnode_pager_input_old set m->valid
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vm/vnode_pager.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c index f795de2..e6bbde0 100644 --- a/sys/vm/vnode_pager.c +++ b/sys/vm/vnode_pager.c @@ -38,7 +38,7 @@ * SUCH DAMAGE. * * from: @(#)vnode_pager.c 7.5 (Berkeley) 4/20/91 - * $Id: vnode_pager.c,v 1.97 1998/09/04 08:06:57 dfr Exp $ + * $Id: vnode_pager.c,v 1.98 1998/09/05 15:17:34 bde Exp $ */ /* @@ -505,6 +505,8 @@ vnode_pager_input_old(object, m) pmap_clear_modify(VM_PAGE_TO_PHYS(m)); m->dirty = 0; vm_page_flag_clear(m, PG_ZERO); + if (!error) + m->valid = VM_PAGE_BITS_ALL; return error ? VM_PAGER_ERROR : VM_PAGER_OK; } |