Author: emaste
Date: Wed Sep  1 13:47:11 2010
New Revision: 212096
URL: http://svn.freebsd.org/changeset/base/212096

Log:
  As long as we are going to panic anyway, there's no need to hide additional
  information behind DIAGNOSTIC.

Modified:
  head/sys/kern/vfs_subr.c

Modified: head/sys/kern/vfs_subr.c
==============================================================================
--- head/sys/kern/vfs_subr.c    Wed Sep  1 13:22:55 2010        (r212095)
+++ head/sys/kern/vfs_subr.c    Wed Sep  1 13:47:11 2010        (r212096)
@@ -2203,9 +2203,7 @@ vputx(struct vnode *vp, int func)
        }
 
        if (vp->v_usecount != 1) {
-#ifdef DIAGNOSTIC
                vprint("vputx: negative ref count", vp);
-#endif
                panic("vputx: negative ref cnt");
        }
        CTR2(KTR_VFS, "%s: return vnode %p to the freelist", __func__, vp);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to