From 639ca8f21b04fc75a1084ba1d38635e3716dd4e6 Mon Sep 17 00:00:00 2001 From: jeff Date: Wed, 2 Apr 2008 10:40:03 +0000 Subject: [PATCH] - Destroy the bo mtx when the vnode is destroyed. --- sys/kern/vfs_subr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 84de8035bdc6..11a78b7127f1 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -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); }