summaryrefslogtreecommitdiffstats
path: root/sys/fs/hpfs/hpfs_vnops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/hpfs/hpfs_vnops.c')
-rw-r--r--sys/fs/hpfs/hpfs_vnops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/fs/hpfs/hpfs_vnops.c b/sys/fs/hpfs/hpfs_vnops.c
index 35bf1fb..a52020f 100644
--- a/sys/fs/hpfs/hpfs_vnops.c
+++ b/sys/fs/hpfs/hpfs_vnops.c
@@ -665,7 +665,7 @@ hpfs_inactive(ap)
if (hp->h_flag & H_INVAL) {
VOP__UNLOCK(vp,0,ap->a_p);
#if defined(__FreeBSD__)
- vrecycle(vp, (struct simplelock *)0, ap->a_p);
+ vrecycle(vp, NULL, ap->a_p);
#else /* defined(__NetBSD__) */
vgone(vp);
#endif
@@ -700,6 +700,7 @@ hpfs_reclaim(ap)
}
lockdestroy(&hp->h_lock);
+ mtx_destroy(&hp->h_interlock);
vp->v_data = NULL;
OpenPOWER on IntegriCloud