diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c index 8cd12c469bb8..7bad5c457030 100644 --- a/sys/vm/vm_fault.c +++ b/sys/vm/vm_fault.c @@ -1152,10 +1152,6 @@ RetryFault:; */ pmap_copy_page(fs.m, fs.first_m); fs.first_m->valid = VM_PAGE_BITS_ALL; - if ((fault_flags & VM_FAULT_WIRE) == 0) { - prot &= ~VM_PROT_WRITE; - fault_type &= ~VM_PROT_WRITE; - } if (wired && (fault_flags & VM_FAULT_WIRE) == 0) { vm_page_lock(fs.first_m);