From 7203758c4bc78748356bfd7cd3b33650f69afb1b Mon Sep 17 00:00:00 2001 From: Pedro Martelletto Date: Sun, 22 May 2005 21:12:43 +0000 Subject: put VLOCKSWORK stuff under a single option, VFSDEBUG --- sys/ufs/ffs/ffs_vfsops.c | 4 ++-- sys/ufs/ufs/ufs_vnops.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/ufs') diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index 831954fc4f2..a891da71390 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.68 2004/08/12 07:48:53 otto Exp $ */ +/* $OpenBSD: ffs_vfsops.c,v 1.69 2005/05/22 21:12:42 pedro Exp $ */ /* $NetBSD: ffs_vfsops.c,v 1.19 1996/02/09 22:22:26 christos Exp $ */ /* @@ -1160,7 +1160,7 @@ retry: *vpp = NULL; return (error); } -#ifdef LOCKDEBUG +#ifdef VFSDEBUG vp->v_flag |= VLOCKSWORK; #endif /* XXX - we use the same pool for ffs and mfs */ diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c index f220b06a412..9f91e6d2312 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.61 2005/04/23 15:13:57 pedro Exp $ */ +/* $OpenBSD: ufs_vnops.c,v 1.62 2005/05/22 21:12:42 pedro Exp $ */ /* $NetBSD: ufs_vnops.c,v 1.18 1996/05/11 18:28:04 mycroft Exp $ */ /* @@ -2057,7 +2057,7 @@ ufs_vinit(mntp, specops, fifoops, vpp) nvp->v_data = vp->v_data; vp->v_data = NULL; vp->v_op = spec_vnodeop_p; -#ifdef DIAGNOSTIC +#ifdef VFSDEBUG vp->v_flag &= ~VLOCKSWORK; #endif vrele(vp); -- cgit v1.2.3