summaryrefslogtreecommitdiff
path: root/sys/ufs
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/ufs
parent3cb9d2cc3561dba1595dc3e17043a99a4a03b7af (diff)
rename VFSDEBUG to VFLCKDEBUG;
prompted by tedu@
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ext2fs/ext2fs_subr.c4
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c5
-rw-r--r--sys/ufs/ufs/ufs_vnops.c4
3 files changed, 7 insertions, 6 deletions
diff --git a/sys/ufs/ext2fs/ext2fs_subr.c b/sys/ufs/ext2fs/ext2fs_subr.c
index a25a6d9a73e..36f352035ba 100644
--- a/sys/ufs/ext2fs/ext2fs_subr.c
+++ b/sys/ufs/ext2fs/ext2fs_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ext2fs_subr.c,v 1.23 2010/12/21 20:14:44 thib Exp $ */
+/* $OpenBSD: ext2fs_subr.c,v 1.24 2011/07/02 15:52:25 thib Exp $ */
/* $NetBSD: ext2fs_subr.c,v 1.1 1997/06/11 09:34:03 bouyer Exp $ */
/*
@@ -162,7 +162,7 @@ ext2fs_vinit(struct mount *mp, struct vops *specops,
nvp->v_data = vp->v_data;
vp->v_data = NULL;
vp->v_op = &spec_vops;
-#ifdef VFSDEBUG
+#ifdef VFSLCKDEBUG
vp->v_flag &= ~VLOCKSWORK;
#endif
vrele(vp);
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c
index b0cd1556cee..1bf51469039 100644
--- a/sys/ufs/ffs/ffs_vfsops.c
+++ b/sys/ufs/ffs/ffs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ffs_vfsops.c,v 1.128 2010/12/21 20:14:44 thib Exp $ */
+/* $OpenBSD: ffs_vfsops.c,v 1.129 2011/07/02 15:52:25 thib Exp $ */
/* $NetBSD: ffs_vfsops.c,v 1.19 1996/02/09 22:22:26 christos Exp $ */
/*
@@ -1263,7 +1263,8 @@ retry:
*vpp = NULL;
return (error);
}
-#ifdef VFSDEBUG
+
+#ifdef VFSLCKDEBUG
vp->v_flag |= VLOCKSWORK;
#endif
ip = pool_get(&ffs_ino_pool, PR_WAITOK|PR_ZERO);
diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c
index 48c540604e3..a7084790b73 100644
--- a/sys/ufs/ufs/ufs_vnops.c
+++ b/sys/ufs/ufs/ufs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ufs_vnops.c,v 1.97 2010/12/21 20:14:44 thib Exp $ */
+/* $OpenBSD: ufs_vnops.c,v 1.98 2011/07/02 15:52:25 thib Exp $ */
/* $NetBSD: ufs_vnops.c,v 1.18 1996/05/11 18:28:04 mycroft Exp $ */
/*
@@ -1782,7 +1782,7 @@ ufs_vinit(struct mount *mntp, struct vops *specops, struct vops *fifoops,
nvp->v_data = vp->v_data;
vp->v_data = NULL;
vp->v_op = &spec_vops;
-#ifdef VFSDEBUG
+#ifdef VFSLCKDEBUG
vp->v_flag &= ~VLOCKSWORK;
#endif
vrele(vp);