Date: Wed, 1 Sep 2010 13:47:11 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r212096 - head/sys/kern Message-ID: <201009011347.o81DlBe0066499@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009011347.o81DlBe0066499>