summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorpedro <pedro@openbsd.org>2005-05-22 21:12:42 +0000
committerpedro <pedro@openbsd.org>2005-05-22 21:12:42 +0000
commit8b7f174155c960e058f32a2f54667c340e952e9e (patch)
treeeceb926c28a9ed5c592ba25b663f802116391c03 /sys/kern/vfs_subr.c
parentRemove some superfluous structures, etc. No functional change. (diff)
downloadwireguard-openbsd-8b7f174155c960e058f32a2f54667c340e952e9e.tar.xz
wireguard-openbsd-8b7f174155c960e058f32a2f54667c340e952e9e.zip
put VLOCKSWORK stuff under a single option, VFSDEBUG
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r--sys/kern/vfs_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index e1c9fdee719..7e12ba43a10 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_subr.c,v 1.111 2005/05/01 12:28:18 pedro Exp $ */
+/* $OpenBSD: vfs_subr.c,v 1.112 2005/05/22 21:12:42 pedro Exp $ */
/* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */
/*
@@ -1098,7 +1098,7 @@ vclean(vp, flags, p)
simple_unlock(&vp->v_selectinfo.vsi_lock);
vp->v_tag = VT_NON;
vp->v_flag &= ~VXLOCK;
-#ifdef DIAGNOSTIC
+#ifdef VFSDEBUG
vp->v_flag &= ~VLOCKSWORK;
#endif
if (vp->v_flag & VXWANT) {