diff options
author | dfr <dfr@FreeBSD.org> | 1997-04-04 17:49:35 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1997-04-04 17:49:35 +0000 |
commit | 290a0d9360310ac92d01cfc64a53d6bf7ab7bdd1 (patch) | |
tree | b639f0a11f6ef68503e426899f8cd98dbaeeae79 /sys/nfs/nfs_vfsops.c | |
parent | 5974d18a75cb3c6a9b4abc4a5f45fcfe3e47f1fe (diff) | |
download | FreeBSD-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/nfs/nfs_vfsops.c')
-rw-r--r-- | sys/nfs/nfs_vfsops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c index fcc6a4c..84963cf 100644 --- a/sys/nfs/nfs_vfsops.c +++ b/sys/nfs/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; |