diff options
author | jeff <jeff@FreeBSD.org> | 2008-04-02 10:40:03 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2008-04-02 10:40:03 +0000 |
commit | 639ca8f21b04fc75a1084ba1d38635e3716dd4e6 (patch) | |
tree | ecc44f17d83ec323a9466c048d731e51acdc4780 /sys/kern/vfs_subr.c | |
parent | 2823d2ffd5d0fb75eb74b2779457c997ad1ee352 (diff) | |
download | FreeBSD-src-639ca8f21b04fc75a1084ba1d38635e3716dd4e6.zip FreeBSD-src-639ca8f21b04fc75a1084ba1d38635e3716dd4e6.tar.gz |
- Destroy the bo mtx when the vnode is destroyed.
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r-- | sys/kern/vfs_subr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 84de803..11a78b7 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); } |