summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-03-17 07:45:19 +0000
committerdg <dg@FreeBSD.org>1995-03-17 07:45:19 +0000
commitca2e4bfc6487303fd7cfe1644208e271a5f899ed (patch)
tree9eda320f97e8422a3d1524c1edcda32123d8bb4a
parentab48163ad25689186ef7bb38ad46cabb11f54d56 (diff)
downloadFreeBSD-src-ca2e4bfc6487303fd7cfe1644208e271a5f899ed.zip
FreeBSD-src-ca2e4bfc6487303fd7cfe1644208e271a5f899ed.tar.gz
Changed some (incorrect) nfsrv_vput()'s back into regular vput()'s. This
fixes the last of the known NQNFS problems (until I find more, that is :-)).
-rw-r--r--sys/nfs/nfs_serv.c8
-rw-r--r--sys/nfsserver/nfs_serv.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/nfs/nfs_serv.c b/sys/nfs/nfs_serv.c
index 26ec319..2bf0a28 100644
--- a/sys/nfs/nfs_serv.c
+++ b/sys/nfs/nfs_serv.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_serv.c 8.3 (Berkeley) 1/12/94
- * $Id: nfs_serv.c,v 1.9 1995/02/15 03:03:03 davidg Exp $
+ * $Id: nfs_serv.c,v 1.10 1995/02/15 03:38:12 davidg Exp $
*/
/*
@@ -1742,7 +1742,7 @@ again:
fl.fl_nfh.fh_generic.fh_fsid =
nvp->v_mount->mnt_stat.f_fsid;
if (VFS_VPTOFH(nvp, &fl.fl_nfh.fh_generic.fh_fid)) {
- nfsrv_vput(nvp);
+ vput(nvp);
goto invalid;
}
if (duration2) {
@@ -1754,10 +1754,10 @@ again:
} else
fl.fl_duration = 0;
if (VOP_GETATTR(nvp, vap, cred, nfsd->nd_procp)) {
- nfsrv_vput(nvp);
+ vput(nvp);
goto invalid;
}
- nfsrv_vput(nvp);
+ vput(nvp);
fp = (struct nfsv2_fattr *)&fl.fl_fattr;
nfsm_srvfillattr;
len += (4*NFSX_UNSIGNED + nlen + rem + NFSX_FH
diff --git a/sys/nfsserver/nfs_serv.c b/sys/nfsserver/nfs_serv.c
index 26ec319..2bf0a28 100644
--- a/sys/nfsserver/nfs_serv.c
+++ b/sys/nfsserver/nfs_serv.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_serv.c 8.3 (Berkeley) 1/12/94
- * $Id: nfs_serv.c,v 1.9 1995/02/15 03:03:03 davidg Exp $
+ * $Id: nfs_serv.c,v 1.10 1995/02/15 03:38:12 davidg Exp $
*/
/*
@@ -1742,7 +1742,7 @@ again:
fl.fl_nfh.fh_generic.fh_fsid =
nvp->v_mount->mnt_stat.f_fsid;
if (VFS_VPTOFH(nvp, &fl.fl_nfh.fh_generic.fh_fid)) {
- nfsrv_vput(nvp);
+ vput(nvp);
goto invalid;
}
if (duration2) {
@@ -1754,10 +1754,10 @@ again:
} else
fl.fl_duration = 0;
if (VOP_GETATTR(nvp, vap, cred, nfsd->nd_procp)) {
- nfsrv_vput(nvp);
+ vput(nvp);
goto invalid;
}
- nfsrv_vput(nvp);
+ vput(nvp);
fp = (struct nfsv2_fattr *)&fl.fl_fattr;
nfsm_srvfillattr;
len += (4*NFSX_UNSIGNED + nlen + rem + NFSX_FH
OpenPOWER on IntegriCloud