diff options
Diffstat (limited to 'vm')
-rw-r--r-- | vm/vm_map.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vm/vm_map.c b/vm/vm_map.c index 63438d3..2c8ad60 100644 --- a/vm/vm_map.c +++ b/vm/vm_map.c @@ -2146,8 +2146,10 @@ start_pass_1: * the copy cannot be interrupted. */ - if (interruptible && contains_permanent_objects) + if (interruptible && contains_permanent_objects) { + vm_map_unlock(dst_map); return(KERN_FAILURE); /* XXX */ + } /* * XXXO If there are no permanent objects in the destination, |