summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_vfsops.c
diff options
context:
space:
mode:
authorAnil Madhavapeddy <avsm@cvs.openbsd.org>2006-05-29 16:49:43 +0000
committerAnil Madhavapeddy <avsm@cvs.openbsd.org>2006-05-29 16:49:43 +0000
commit002c5009a287505e40b1a2edec04999ebcabc98e (patch)
tree9bb71d4b289cbb444b9481ddaffb793aa81ff8c4 /sys/nfs/nfs_vfsops.c
parentcbf986586c3749d9c4d3beff78268497a90c3876 (diff)
revert vfs.nfs.privport sysctl, broke a few architectures
requested by deraadt@
Diffstat (limited to 'sys/nfs/nfs_vfsops.c')
-rw-r--r--sys/nfs/nfs_vfsops.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c
index 3de3c138504..bc5f927842a 100644
--- a/sys/nfs/nfs_vfsops.c
+++ b/sys/nfs/nfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_vfsops.c,v 1.61 2006/05/28 23:29:32 avsm Exp $ */
+/* $OpenBSD: nfs_vfsops.c,v 1.62 2006/05/29 16:49:42 avsm Exp $ */
/* $NetBSD: nfs_vfsops.c,v 1.46.4.1 1996/05/25 22:40:35 fvdl Exp $ */
/*
@@ -70,7 +70,6 @@
extern struct nfsstats nfsstats;
extern int nfs_ticks;
-extern int nfs_privport;
int nfs_sysctl(int *, u_int, void *, size_t *, void *, size_t, struct proc *);
int nfs_checkexp(struct mount *mp, struct mbuf *nam,
@@ -912,8 +911,6 @@ nfs_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
return rv;
- case NFS_PRIVPORT:
- return(sysctl_int(oldp, oldlenp, newp, newlen, &nfs_privport));
default:
return EOPNOTSUPP;
}