svn commit: r214340 - stable/8/sys/kern
Attilio Rao
attilio at FreeBSD.org
Mon Oct 25 14:02:14 UTC 2010
Author: attilio
Date: Mon Oct 25 14:02:14 2010
New Revision: 214340
URL: http://svn.freebsd.org/changeset/base/214340
Log:
MFC r212096 by emaste:
As long as we are going to panic anyway, there's no need to hide additional
information behind DIAGNOSTIC.
Sponsored by: Sandvine Incorporated
Modified:
stable/8/sys/kern/vfs_subr.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
Modified: stable/8/sys/kern/vfs_subr.c
==============================================================================
--- stable/8/sys/kern/vfs_subr.c Mon Oct 25 13:34:55 2010 (r214339)
+++ stable/8/sys/kern/vfs_subr.c Mon Oct 25 14:02:14 2010 (r214340)
@@ -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);
More information about the svn-src-stable
mailing list