kernel: add missing holds/drops to vm_fault_copy_entry
authorChris Turner <c.turner@199technologies.com>
Fri, 9 Mar 2012 20:34:46 +0000 (20:34 +0000)
committerChris Turner <c.turner@199technologies.com>
Fri, 9 Mar 2012 20:34:46 +0000 (20:34 +0000)
commit54113f77b573f8b06011500a2fd95346c046e921
tree2a675f266e2b0f5530b26a1277415bb1afbe71fb
parenta64178b45f3f78736c57015141832c8093da946f
kernel: add missing holds/drops to vm_fault_copy_entry

Add missing holds/drops to vm_fault_copy_entry that were triggering
assertions in vm_page_alloc/vm_page_lookup when when a process
holding locked memory is forked.

Fixes: https://bugs.dragonflybsd.org/issues/2320
Reviewed-by: vsrinavas
X-Nahmean-Status: word
sys/vm/vm_fault.c