aboutsummaryrefslogtreecommitdiff
path: root/sys/nfsclient/nfs_node.c
diff options
context:
space:
mode:
authorJason Evans <jasone@FreeBSD.org>2000-10-04 01:29:17 +0000
committerJason Evans <jasone@FreeBSD.org>2000-10-04 01:29:17 +0000
commita18b1f1d4ddeb48bde093cc8a8ecf5d48391a03c (patch)
treebe38329315e26593acf6a8b824bb4069d9701eba /sys/nfsclient/nfs_node.c
parent645b8b81f004da9bf1d09dd4707177be1640f1f9 (diff)
downloadsrc-a18b1f1d4ddeb48bde093cc8a8ecf5d48391a03c.tar.gz
src-a18b1f1d4ddeb48bde093cc8a8ecf5d48391a03c.zip
Convert lockmgr locks from using simple locks to using mutexes.
Add lockdestroy() and appropriate invocations, which corresponds to lockinit() and must be called to clean up after a lockmgr lock is no longer needed.
Notes
Notes: svn path=/head/; revision=66615
Diffstat (limited to 'sys/nfsclient/nfs_node.c')
-rw-r--r--sys/nfsclient/nfs_node.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/nfsclient/nfs_node.c b/sys/nfsclient/nfs_node.c
index 1de873908dfa..3299627ebe78 100644
--- a/sys/nfsclient/nfs_node.c
+++ b/sys/nfsclient/nfs_node.c
@@ -300,6 +300,8 @@ nfs_reclaim(ap)
FREE((caddr_t)np->n_fhp, M_NFSBIGFH);
}
+ lockdestroy(&np->n_rslock);
+
cache_purge(vp);
zfree(nfsnode_zone, vp->v_data);
vp->v_data = (void *)0;