summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/vm/vm_map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index b060fc7..f0941df 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_map.c,v 1.111 1998/02/05 03:32:41 dyson Exp $
+ * $Id: vm_map.c,v 1.112 1998/02/06 12:14:24 eivind Exp $
*/
/*
@@ -1667,7 +1667,7 @@ vm_map_clean(map, start, end, syncio, invalidate)
*/
if (current->protection & VM_PROT_WRITE) {
if (object->type == OBJT_VNODE)
- vn_lock(object->handle, LK_EXCLUSIVE, curproc);
+ vn_lock(object->handle, LK_EXCLUSIVE|LK_RETRY, curproc);
vm_object_page_clean(object,
OFF_TO_IDX(offset),
OFF_TO_IDX(offset + size + PAGE_MASK),
OpenPOWER on IntegriCloud