As long as we are going to panic anyway, there's no need to hide additional

information behind DIAGNOSTIC.
This commit is contained in:
Ed Maste 2010-09-01 13:47:11 +00:00
parent 21a9296f63
commit e5ddf11581

View File

@ -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);