summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_vnode.c
diff options
context:
space:
mode:
authornatano <natano@cvs.openbsd.org>2016-03-19 12:04:17 +0000
committernatano <natano@cvs.openbsd.org>2016-03-19 12:04:17 +0000
commita9bad0de99cbc0922b684917f300008ad4b7f821 (patch)
tree9bbf0a65b8ad489ea32bb54265c084bd2efd6f50 /sys/uvm/uvm_vnode.c
parentd16c6aa7a075ad00ce2bccb0a5b52b930477d6ac (diff)
Remove the unused flags argument from VOP_UNLOCK().
torture tested on amd64, i386 and macppc ok beck mpi stefan "the change looks right" deraadt
Diffstat (limited to 'sys/uvm/uvm_vnode.c')
-rw-r--r--sys/uvm/uvm_vnode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_vnode.c b/sys/uvm/uvm_vnode.c
index 4900ba4e113..a34de75e723 100644
--- a/sys/uvm/uvm_vnode.c
+++ b/sys/uvm/uvm_vnode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_vnode.c,v 1.91 2015/08/27 18:59:58 deraadt Exp $ */
+/* $OpenBSD: uvm_vnode.c,v 1.92 2016/03/19 12:04:16 natano Exp $ */
/* $NetBSD: uvm_vnode.c,v 1.36 2000/11/24 20:34:01 chs Exp $ */
/*
@@ -1185,7 +1185,7 @@ uvn_io(struct uvm_vnode *uvn, vm_page_t *pps, int npages, int flags, int rw)
curproc->p_ucred);
if ((uvn->u_flags & UVM_VNODE_VNISLOCKED) == 0)
- VOP_UNLOCK(vn, 0, curproc);
+ VOP_UNLOCK(vn, curproc);
}
/* NOTE: vnode now unlocked (unless vnislocked) */
@@ -1303,7 +1303,7 @@ uvm_vnp_uncache(struct vnode *vp)
* unlocked causing us to return TRUE when we should not. we ignore
* this as a false-positive return value doesn't hurt us.
*/
- VOP_UNLOCK(vp, 0, curproc);
+ VOP_UNLOCK(vp, curproc);
uvn_detach(&uvn->u_obj);
vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, curproc);