Correct a typo in vm_fault_quick_hold_pages().

Reported by:	Bartosz Stec
This commit is contained in:
Alan Cox 2010-12-28 20:02:30 +00:00
parent 581499c3bf
commit a5dbab5444

View File

@ -1084,7 +1084,7 @@ vm_fault_quick_hold_pages(vm_map_t map, vm_offset_t addr, vm_size_t len,
if (*mp == NULL)
pmap_failed = TRUE;
else if ((prot & VM_PROT_WRITE) != 0 &&
(*ma)->dirty != VM_PAGE_BITS_ALL) {
(*mp)->dirty != VM_PAGE_BITS_ALL) {
/*
* Explicitly dirty the physical page. Otherwise, the
* caller's changes may go unnoticed because they are