mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
As long as we are going to panic anyway, there's no need to hide additional
information behind DIAGNOSTIC.
This commit is contained in:
parent
21a9296f63
commit
e5ddf11581
1 changed files with 0 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue