diff options
author | bp <bp@FreeBSD.org> | 2000-10-15 08:01:28 +0000 |
---|---|---|
committer | bp <bp@FreeBSD.org> | 2000-10-15 08:01:28 +0000 |
commit | 86d96862d160882bab7ab6f56af018d8796870b2 (patch) | |
tree | 0afedc921b5422b5f3d7f4609909313227349275 /sys/nfsclient/nfs_node.c | |
parent | 5eab735c6e923f38a26f592cb49e6f518b74c1ed (diff) | |
download | FreeBSD-src-86d96862d160882bab7ab6f56af018d8796870b2.zip FreeBSD-src-86d96862d160882bab7ab6f56af018d8796870b2.tar.gz |
Add missed vop_stdunlock() for fifo's vnops (this affects only v2 mounts).
Give nfs's node lock its own name.
Diffstat (limited to 'sys/nfsclient/nfs_node.c')
-rw-r--r-- | sys/nfsclient/nfs_node.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/nfsclient/nfs_node.c b/sys/nfsclient/nfs_node.c index 3299627..f1031ae 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) |