From c52e7044cf0fb9adc231fd68cfe72403b0fa882a Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Tue, 17 Aug 1999 05:56:00 +0000 Subject: [PATCH] Correct an accidental omission of one "vm_page_undirty" replacement from the previous commit. --- sys/vm/swap_pager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index df70c7cd5f0d..7474010733b4 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -64,7 +64,7 @@ * * @(#)swap_pager.c 8.9 (Berkeley) 3/21/94 * - * $Id: swap_pager.c,v 1.121 1999/07/16 05:11:35 alc Exp $ + * $Id: swap_pager.c,v 1.122 1999/08/17 04:02:32 alc Exp $ */ #include @@ -1656,7 +1656,7 @@ swp_pager_async_iodone(bp) */ vm_page_protect(m, VM_PROT_READ); pmap_clear_modify(VM_PAGE_TO_PHYS(m)); - m->dirty = 0; + vm_page_undirty(m); vm_page_io_finish(m); } }