aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/vm_pageout.c
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>1999-01-24 06:04:52 +0000
committerMatthew Dillon <dillon@FreeBSD.org>1999-01-24 06:04:52 +0000
commit7dbf82dc13f7720f6c8376e9a3c006bed9d40f29 (patch)
tree19c166e4ea45928576f3f276a0aaf77414b7bae2 /sys/vm/vm_pageout.c
parent84ef5a8f66bfc718e21c4209c919060385e18aeb (diff)
downloadsrc-7dbf82dc13f7720f6c8376e9a3c006bed9d40f29.tar.gz
src-7dbf82dc13f7720f6c8376e9a3c006bed9d40f29.zip
Change all manual settings of vm_page_t->dirty = VM_PAGE_BITS_ALL
to use the vm_page_dirty() inline. The inline can thus do sanity checks ( or not ) over all cases.
Notes
Notes: svn path=/head/; revision=43138
Diffstat (limited to 'sys/vm/vm_pageout.c')
-rw-r--r--sys/vm/vm_pageout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c
index aa95a370db21..a220fd202a6e 100644
--- a/sys/vm/vm_pageout.c
+++ b/sys/vm/vm_pageout.c
@@ -65,7 +65,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_pageout.c,v 1.132 1999/01/24 01:06:31 dillon Exp $
+ * $Id: vm_pageout.c,v 1.133 1999/01/24 01:33:22 dillon Exp $
*/
/*
@@ -784,7 +784,7 @@ rescan0:
if (m->dirty == 0) {
vm_page_test_dirty(m);
} else {
- m->dirty = VM_PAGE_BITS_ALL;
+ vm_page_dirty(m);
}
/*