diff options
author | jhb <jhb@FreeBSD.org> | 2001-01-24 02:18:54 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-01-24 02:18:54 +0000 |
commit | 810630fa417a1146f3a2ce06eba740de26d6981d (patch) | |
tree | 42006b385494db2e80d6753166059a1d108e944a /sys/fs/hpfs/hpfs_vnops.c | |
parent | 4fe63e40a8d579232a3c26ae2d1da79ec8e4c0ff (diff) | |
download | FreeBSD-src-810630fa417a1146f3a2ce06eba740de26d6981d.zip FreeBSD-src-810630fa417a1146f3a2ce06eba740de26d6981d.tar.gz |
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
Diffstat (limited to 'sys/fs/hpfs/hpfs_vnops.c')
-rw-r--r-- | sys/fs/hpfs/hpfs_vnops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/fs/hpfs/hpfs_vnops.c b/sys/fs/hpfs/hpfs_vnops.c index 2a378c2..35bf1fb 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); |