aboutsummaryrefslogtreecommitdiff
path: root/sys/nfsclient/nfs_node.c
diff options
context:
space:
mode:
authorBoris Popov <bp@FreeBSD.org>2000-10-15 08:01:28 +0000
committerBoris Popov <bp@FreeBSD.org>2000-10-15 08:01:28 +0000
commit823548e13128ab57e3c1dc6434f3ca2f71b133a2 (patch)
treefde5ede281843b23f3639a91d83cb1af807e661c /sys/nfsclient/nfs_node.c
parent41698bde61f0b3af0ade45ea56edc4726f1289ca (diff)
downloadsrc-823548e13128ab57e3c1dc6434f3ca2f71b133a2.tar.gz
src-823548e13128ab57e3c1dc6434f3ca2f71b133a2.zip
Add missed vop_stdunlock() for fifo's vnops (this affects only v2 mounts).
Give nfs's node lock its own name.
Notes
Notes: svn path=/head/; revision=67151
Diffstat (limited to 'sys/nfsclient/nfs_node.c')
-rw-r--r--sys/nfsclient/nfs_node.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/nfsclient/nfs_node.c b/sys/nfsclient/nfs_node.c
index 3299627ebe78..f1031ae65147 100644
--- a/sys/nfsclient/nfs_node.c
+++ b/sys/nfsclient/nfs_node.c
@@ -193,6 +193,7 @@ loop:
bcopy((caddr_t)fhp, (caddr_t)np->n_fhp, fhsize);
np->n_fhsize = fhsize;
lockinit(&np->n_rslock, PVFS | rsflags, "nfrslk", 0, LK_NOPAUSE);
+ lockinit(&vp->v_lock, PVFS, "nfsnlk", 0, LK_NOPAUSE);
*npp = np;
if (nfs_node_hash_lock < 0)