summaryrefslogtreecommitdiff
path: root/sys/uvm
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2011-07-02 15:52:26 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2011-07-02 15:52:26 +0000
commit69e67ecd4305f0a615def2aba28e863c419736d0 (patch)
tree59c7993d49adf8917469c84ef5a6ce88c1f20b27 /sys/uvm
parent3cb9d2cc3561dba1595dc3e17043a99a4a03b7af (diff)
rename VFSDEBUG to VFLCKDEBUG;
prompted by tedu@
Diffstat (limited to 'sys/uvm')
-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 a70e6428088..a4ed3bd71d6 100644
--- a/sys/uvm/uvm_vnode.c
+++ b/sys/uvm/uvm_vnode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_vnode.c,v 1.72 2011/06/16 23:00:38 oga Exp $ */
+/* $OpenBSD: uvm_vnode.c,v 1.73 2011/07/02 15:52:25 thib Exp $ */
/* $NetBSD: uvm_vnode.c,v 1.36 2000/11/24 20:34:01 chs Exp $ */
/*
@@ -1538,14 +1538,14 @@ uvm_vnp_uncache(struct vnode *vp)
uvn->u_obj.uo_refs++; /* value is now 1 */
simple_unlock(&uvn->u_obj.vmobjlock);
-#ifdef VFSDEBUG
+#ifdef VFSLCKDEBUG
/*
* carry over sanity check from old vnode pager: the vnode should
* be VOP_LOCK'd, and we confirm it here.
*/
if ((vp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(vp))
panic("uvm_vnp_uncache: vnode not locked!");
-#endif /* VFSDEBUG */
+#endif
/*
* now drop our reference to the vnode. if we have the sole