summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_vfsops.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-28 14:53:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-28 14:53:08 +0000
commit3f3e6de8c13d35dfb71d464ea3e11f7d889dde73 (patch)
treeda36b0ee1ac805e1e5e4a9f1dfd795b616f0e0a5 /sys/nfs/nfs_vfsops.c
parent3e85b3d6d3db62b2000baf53cbee2001c10f6f6f (diff)
force NFSMNT_RESVPORT on always
Diffstat (limited to 'sys/nfs/nfs_vfsops.c')
-rw-r--r--sys/nfs/nfs_vfsops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c
index 345ca048869..86cbd0b27c6 100644
--- a/sys/nfs/nfs_vfsops.c
+++ b/sys/nfs/nfs_vfsops.c
@@ -452,6 +452,7 @@ nfs_mount(mp, path, data, ndp, p)
if (nmp == NULL)
return (EIO);
nfs_decode_args(nmp, &args);
+ args.flags |= NFSMNT_RESVPORT; /* ALWAYS allocate one */
return (0);
}
if (error = copyin((caddr_t)args.fh, (caddr_t)&nfh, sizeof (nfsv2fh_t)))