- Destroy the bo mtx when the vnode is destroyed.
This commit is contained in:
parent
2823d2ffd5
commit
639ca8f21b
@ -825,6 +825,7 @@ vdestroy(struct vnode *vp)
|
||||
#endif
|
||||
lockdestroy(vp->v_vnlock);
|
||||
mtx_destroy(&vp->v_interlock);
|
||||
mtx_destroy(BO_MTX(bo));
|
||||
uma_zfree(vnode_zone, vp);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user