summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-03-17 18:28:49 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-03-17 18:28:49 +0000
commit3d7bb245c0b70b48b1a760bd15001838d30f58d3 (patch)
treebc2a57726f0334d0c4ad9b42aaa6a8b2f7cc274e
parentc6d8f293827d335bc986e05272323b21d05fc770 (diff)
Don't set LK_RETRY to vn_lock with LK_RECURSEFAIL.
-rw-r--r--sys/uvm/uvm_vnode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_vnode.c b/sys/uvm/uvm_vnode.c
index 63d0f284133..e59fa55a329 100644
--- a/sys/uvm/uvm_vnode.c
+++ b/sys/uvm/uvm_vnode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_vnode.c,v 1.33 2002/03/14 01:27:19 millert Exp $ */
+/* $OpenBSD: uvm_vnode.c,v 1.34 2002/03/17 18:28:48 art Exp $ */
/* $NetBSD: uvm_vnode.c,v 1.36 2000/11/24 20:34:01 chs Exp $ */
/*
@@ -1669,7 +1669,7 @@ uvn_io(uvn, pps, npages, flags, rw)
*/
result = 0;
if ((uvn->u_flags & UVM_VNODE_VNISLOCKED) == 0)
- result = vn_lock(vn, LK_EXCLUSIVE | LK_RETRY | LK_RECURSEFAIL, curproc);
+ result = vn_lock(vn, LK_EXCLUSIVE | LK_RECURSEFAIL, curproc);
if (result == 0) {
/* NOTE: vnode now locked! */