summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorthib <thib@openbsd.org>2011-07-02 15:52:25 +0000
committerthib <thib@openbsd.org>2011-07-02 15:52:25 +0000
commit61169d10f5aa3e046e8a76d00bcb790727a7418a (patch)
tree676ac51beb83104e84aeef38682185c0a57ff30f /sys/kern/vfs_subr.c
parentadd file equivalence. Choose the most recent timestamp between man and (diff)
downloadwireguard-openbsd-61169d10f5aa3e046e8a76d00bcb790727a7418a.tar.xz
wireguard-openbsd-61169d10f5aa3e046e8a76d00bcb790727a7418a.zip
rename VFSDEBUG to VFLCKDEBUG;
prompted by tedu@
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r--sys/kern/vfs_subr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index bbd8b34d690..411acce3010 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_subr.c,v 1.193 2010/12/21 20:14:43 thib Exp $ */
+/* $OpenBSD: vfs_subr.c,v 1.194 2011/07/02 15:52:25 thib Exp $ */
/* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */
/*
@@ -970,7 +970,7 @@ vclean(struct vnode *vp, int flags, struct proc *p)
VN_KNOTE(vp, NOTE_REVOKE);
vp->v_tag = VT_NON;
vp->v_flag &= ~VXLOCK;
-#ifdef VFSDEBUG
+#ifdef VFSLCKDEBUG
vp->v_flag &= ~VLOCKSWORK;
#endif
if (vp->v_flag & VXWANT) {
@@ -1818,7 +1818,7 @@ vinvalbuf(struct vnode *vp, int flags, struct ucred *cred, struct proc *p,
struct buf *nbp, *blist;
int s, error;
-#ifdef VFSDEBUG
+#ifdef VFSLCKDEBUG
if ((vp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(vp))
panic("vinvalbuf(): vp isn't locked");
#endif