Now that the vdropl() function is public, assert that the vnode interlock
is held.
This commit is contained in:
parent
8ad9c32345
commit
def72fbba1
@ -2217,6 +2217,7 @@ void
|
||||
vdropl(struct vnode *vp)
|
||||
{
|
||||
|
||||
ASSERT_VI_LOCKED(vp, "vdropl");
|
||||
if (vp->v_holdcnt <= 0)
|
||||
panic("vdrop: holdcnt %d", vp->v_holdcnt);
|
||||
vp->v_holdcnt--;
|
||||
|
Loading…
x
Reference in New Issue
Block a user