From 290a0d9360310ac92d01cfc64a53d6bf7ab7bdd1 Mon Sep 17 00:00:00 2001 From: dfr Date: Fri, 4 Apr 1997 17:49:35 +0000 Subject: Fix various bugs in the locking protocol, allowing proper shared locks to be used. This should fix the lock panics that people are seeing. --- sys/nfsclient/nfs_vfsops.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/nfsclient/nfs_vfsops.c') diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c index fcc6a4c..84963cf 100644 --- a/sys/nfsclient/nfs_vfsops.c +++ b/sys/nfsclient/nfs_vfsops.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_vfsops.c 8.12 (Berkeley) 5/20/95 - * $Id: nfs_vfsops.c,v 1.35 1997/02/22 09:42:44 peter Exp $ + * $Id: nfs_vfsops.c,v 1.36 1997/03/24 11:33:39 bde Exp $ */ #include @@ -904,7 +904,6 @@ nfs_root(mp, vpp) if (error) return (error); vp = NFSTOV(np); - VOP_UNLOCK(vp, 0, curproc); if (vp->v_type == VNON) vp->v_type = VDIR; vp->v_flag = VROOT; -- cgit v1.1