vm_pager_put_pages() takes VM_PAGER_* flags, not OBJPC_* flags. It just

so happens that OBJPC_SYNC has the same value as VM_PAGER_PUT_SYNC so no
harm done.  But fix it :-)

No operational changes.

MFC after:	1 day
This commit is contained in:
Matthew Dillon 2002-12-28 21:15:39 +00:00
parent 472c3b6f4f
commit 40bb4f4bcf

View File

@ -392,7 +392,7 @@ vm_pageout_flush(mc, count, flags)
vm_object_pip_add(object, count);
vm_pager_put_pages(object, mc, count,
(flags | ((object == kernel_object) ? OBJPC_SYNC : 0)),
(flags | ((object == kernel_object) ? VM_PAGER_PUT_SYNC : 0)),
pageout_status);
vm_page_lock_queues();