aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-01-24 02:18:54 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-01-24 02:18:54 +0000
commit54bd3c0306230443a27cb94d646a69c7f18b9d07 (patch)
treedb2084e1a9cedff4bae1637f061028930382baa6
parent1e8b33eb236925471d0dd8fe1a3a54f17d49c74a (diff)
downloadsrc-54bd3c0306230443a27cb94d646a69c7f18b9d07.tar.gz
src-54bd3c0306230443a27cb94d646a69c7f18b9d07.zip
The lock being destroyed was misnamed, not unused. Add the lockdestroy()
back in but with the proper name so that this compiles. Submitted by: jasone
Notes
Notes: svn path=/head/; revision=71509
-rw-r--r--sys/fs/hpfs/hpfs_vnops.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/fs/hpfs/hpfs_vnops.c b/sys/fs/hpfs/hpfs_vnops.c
index 2a378c22e777..35bf1fb85c1a 100644
--- a/sys/fs/hpfs/hpfs_vnops.c
+++ b/sys/fs/hpfs/hpfs_vnops.c
@@ -699,6 +699,8 @@ hpfs_reclaim(ap)
hp->h_devvp = NULL;
}
+ lockdestroy(&hp->h_lock);
+
vp->v_data = NULL;
FREE(hp, M_HPFSNO);