diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-05-14 22:41:33 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-05-14 22:41:33 +0000 |
commit | 9b817d7486b3414e301bb5234522a769ce9e9a97 (patch) | |
tree | e91bbf897df32284a4e4bac08b401d699577e023 /sys/nfs/nfs_vfsops.c | |
parent | 5ec51dc20bb7b8dd388a0f4aa5bc49ce56599c03 (diff) |
NFSMNT_RESVPORT set in wrong place
Diffstat (limited to 'sys/nfs/nfs_vfsops.c')
-rw-r--r-- | sys/nfs/nfs_vfsops.c | 4 |
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); |