mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-16 15:11:52 +00: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=212096
@ -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 New Issue
Block a user