From 4ad80934c76c2d9797a334a29fabe40621e62c24 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 9 May 2007 02:46:13 +0000 Subject: lockmgr_printinfo() calls only if DIAGNOSTIC --- sys/isofs/udf/udf_vnops.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/isofs/udf') diff --git a/sys/isofs/udf/udf_vnops.c b/sys/isofs/udf/udf_vnops.c index 231c0f7ff90..4b18031a13e 100644 --- a/sys/isofs/udf/udf_vnops.c +++ b/sys/isofs/udf/udf_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udf_vnops.c,v 1.24 2007/04/10 17:47:55 miod Exp $ */ +/* $OpenBSD: udf_vnops.c,v 1.25 2007/05/09 02:46:12 deraadt Exp $ */ /* * Copyright (c) 2001, 2002 Scott Long @@ -951,9 +951,10 @@ udf_print(void *v) * Complete the information given by vprint(). */ printf("tag VT_UDF, hash id %u\n", up->u_ino); +#ifdef DIAGNOSTIC lockmgr_printinfo(&up->u_lock); printf("\n"); - +#endif return (0); } -- cgit v1.2.3