Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/miscfs/nullfs Make message about not loking a vnode in n...
details: https://anonhg.NetBSD.org/src/rev/fdf77556d03c
branches: trunk
changeset: 471734:fdf77556d03c
user: wrstuden <wrstuden%NetBSD.org@localhost>
date: Fri Apr 09 17:27:38 1999 +0000
description:
Make message about not loking a vnode in nullfs_create a little quieter -
now only enabled if NULLFS_DIAGNOSTIC and no longer if DEBUG or DIAGNOSTIC.
diffstat:
sys/miscfs/nullfs/null_subr.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 9d05c1b6f9b4 -r fdf77556d03c sys/miscfs/nullfs/null_subr.c
--- a/sys/miscfs/nullfs/null_subr.c Fri Apr 09 16:01:34 1999 +0000
+++ b/sys/miscfs/nullfs/null_subr.c Fri Apr 09 17:27:38 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: null_subr.c,v 1.13 1998/09/30 06:50:10 jonathan Exp $ */
+/* $NetBSD: null_subr.c,v 1.14 1999/04/09 17:27:38 wrstuden Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -303,7 +303,7 @@
if (takelock) {
if (!locked)
vn_lock(aliasvp, LK_EXCLUSIVE | LK_RETRY);
-#if defined(DIAGNOSTIC) || defined(DEBUG) || defined(NULLFS_DIAGNOSTIC)
+#ifdef NULLFS_DIAGNOSTIC
else
printf ("null_node_create: already locked\n");
#endif
Home |
Main Index |
Thread Index |
Old Index