summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_vfsops.c
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1997-04-04 17:49:35 +0000
committerdfr <dfr@FreeBSD.org>1997-04-04 17:49:35 +0000
commit290a0d9360310ac92d01cfc64a53d6bf7ab7bdd1 (patch)
treeb639f0a11f6ef68503e426899f8cd98dbaeeae79 /sys/nfsclient/nfs_vfsops.c
parent5974d18a75cb3c6a9b4abc4a5f45fcfe3e47f1fe (diff)
downloadFreeBSD-src-290a0d9360310ac92d01cfc64a53d6bf7ab7bdd1.zip
FreeBSD-src-290a0d9360310ac92d01cfc64a53d6bf7ab7bdd1.tar.gz
Fix various bugs in the locking protocol, allowing proper shared locks
to be used. This should fix the lock panics that people are seeing.
Diffstat (limited to 'sys/nfsclient/nfs_vfsops.c')
-rw-r--r--sys/nfsclient/nfs_vfsops.c3
1 files changed, 1 insertions, 2 deletions
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 <sys/param.h>
@@ -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;
OpenPOWER on IntegriCloud