- Destroy the bo mtx when the vnode is destroyed.

This commit is contained in:
Jeff Roberson 2008-04-02 10:40:03 +00:00
parent da647ae946
commit 1fd9b6a577

View File

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