summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nfs/nfs_vfsops.c')
-rw-r--r--sys/nfs/nfs_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c
index 2a70e192865..e88285592e5 100644
--- a/sys/nfs/nfs_vfsops.c
+++ b/sys/nfs/nfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_vfsops.c,v 1.8 1996/04/21 22:30:34 deraadt Exp $ */
+/* $OpenBSD: nfs_vfsops.c,v 1.9 1996/05/14 22:41:32 deraadt Exp $ */
/* $NetBSD: nfs_vfsops.c,v 1.46 1996/03/24 23:58:10 fvdl Exp $ */
/*
@@ -585,13 +585,13 @@ nfs_mount(mp, path, data, ndp, p)
return (error);
if (args.version != NFS_ARGSVERSION)
return (EPROGMISMATCH);
+ args.flags |= NFSMNT_RESVPORT; /* ALWAYS allocate one */
if (mp->mnt_flag & MNT_UPDATE) {
register struct nfsmount *nmp = VFSTONFS(mp);
if (nmp == NULL)
return (EIO);
nfs_decode_args(nmp, &args);
- args.flags |= NFSMNT_RESVPORT; /* ALWAYS allocate one */
return (0);
}
error = copyin((caddr_t)args.fh, (caddr_t)nfh, args.fhsize);