diff options
author | dg <dg@FreeBSD.org> | 1995-05-29 04:01:09 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-05-29 04:01:09 +0000 |
commit | da17d8251a2dd8bcaa843590de03bf685b4553ff (patch) | |
tree | 13faff4fe324ccd67ebb85c65757b262476506f2 /sys/nfsclient | |
parent | 48a749d725591845bf064778b92e5694409c5e64 (diff) | |
download | FreeBSD-src-da17d8251a2dd8bcaa843590de03bf685b4553ff.zip FreeBSD-src-da17d8251a2dd8bcaa843590de03bf685b4553ff.tar.gz |
Fixed some serious bugs that resulted in object reference counts not being
handled correctly. This would manifest itself as "object deallocated too
many times" panics and perhaps other strange inconsistencies on NFS servers.
Reviewed by: me, of course
Submitted by: John Dyson
Diffstat (limited to 'sys/nfsclient')
-rw-r--r-- | sys/nfsclient/nfs_subs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/nfsclient/nfs_subs.c b/sys/nfsclient/nfs_subs.c index 1497a82..3ccc10a 100644 --- a/sys/nfsclient/nfs_subs.c +++ b/sys/nfsclient/nfs_subs.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_subs.c 8.3 (Berkeley) 1/4/94 - * $Id: nfs_subs.c,v 1.12 1995/03/16 18:15:39 bde Exp $ + * $Id: nfs_subs.c,v 1.13 1995/04/21 02:58:49 dyson Exp $ */ /* @@ -990,12 +990,14 @@ nfs_namei(ndp, fhp, len, slp, nam, mdp, dposp, p) error = EINVAL; goto out; } + + nfsrv_vmio(ndp->ni_vp); + /* * Check for saved name request */ if (cnp->cn_flags & (SAVENAME | SAVESTART)) { cnp->cn_flags |= HASBUF; - nfsrv_vmio( ndp->ni_vp); return (0); } out: |