From 9b817d7486b3414e301bb5234522a769ce9e9a97 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 14 May 1996 22:41:33 +0000 Subject: NFSMNT_RESVPORT set in wrong place --- sys/nfs/nfs_vfsops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/nfs/nfs_vfsops.c') 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); -- cgit v1.2.3