PERFORCE change 163570 for review
Marko Zec
zec at FreeBSD.org
Fri Jun 5 15:34:11 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=163570
Change 163570 by zec at zec_tpx32 on 2009/06/05 15:33:59
Enclose a debugging printf in #ifdef INVARIANTS.
Pointed out by: bz
Affected files ...
.. //depot/projects/vimage-commit2/src/sys/kern/kern_vimage.c#52 edit
Differences ...
==== //depot/projects/vimage-commit2/src/sys/kern/kern_vimage.c#52 (text+ko) ====
@@ -681,9 +681,11 @@
if (vnet->sockcnt != 0)
return (EBUSY);
+#ifdef INVARIANTS
if (vip->vi_ucredrefc != 0)
printf("vi_destroy: %s ucredrefc %d\n",
vip->vi_name, vip->vi_ucredrefc);
+#endif
/* Point with no return - cleanup MUST succeed! */
LIST_REMOVE(vip, vi_le);
More information about the p4-projects
mailing list