summaryrefslogtreecommitdiff
path: root/sys/nfs
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2008-08-08 20:44:39 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2008-08-08 20:44:39 +0000
commit52c39a67f6951f85a0153328d55733d068d4123b (patch)
tree234106f7a194f5a3dd2ce56e208811d0f91cfa95 /sys/nfs
parentc5849f13e6a34f2ea4a11b5b172e0b0a40e4090f (diff)
After beck@ changed the way nfsiod's are notified of work, the
nfs_iodwant array became unused. Garbage collect and free up a few bytes. ok thib@
Diffstat (limited to 'sys/nfs')
-rw-r--r--sys/nfs/nfs_bio.c3
-rw-r--r--sys/nfs/nfs_subs.c8
-rw-r--r--sys/nfs/nfs_syscalls.c3
-rw-r--r--sys/nfs/nfs_vnops.c3
4 files changed, 4 insertions, 13 deletions
diff --git a/sys/nfs/nfs_bio.c b/sys/nfs/nfs_bio.c
index 5abe441c0ed..a1b57fce2b6 100644
--- a/sys/nfs/nfs_bio.c
+++ b/sys/nfs/nfs_bio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_bio.c,v 1.53 2008/07/25 14:56:47 beck Exp $ */
+/* $OpenBSD: nfs_bio.c,v 1.54 2008/08/08 20:44:38 blambert Exp $ */
/* $NetBSD: nfs_bio.c,v 1.25.4.2 1996/07/08 20:47:04 jtc Exp $ */
/*
@@ -56,7 +56,6 @@
#include <nfs/nfsnode.h>
#include <nfs/nfs_var.h>
-extern struct proc *nfs_iodwant[NFS_MAXASYNCDAEMON];
extern int nfs_numasync;
extern struct nfsstats nfsstats;
struct nfs_bufqhead nfs_bufq;
diff --git a/sys/nfs/nfs_subs.c b/sys/nfs/nfs_subs.c
index f276fbbed0e..ed02854851b 100644
--- a/sys/nfs/nfs_subs.c
+++ b/sys/nfs/nfs_subs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_subs.c,v 1.84 2008/06/15 04:03:40 thib Exp $ */
+/* $OpenBSD: nfs_subs.c,v 1.85 2008/08/08 20:44:38 blambert Exp $ */
/* $NetBSD: nfs_subs.c,v 1.27.4.3 1996/07/08 20:34:24 jtc Exp $ */
/*
@@ -514,7 +514,6 @@ static short *nfsrv_v3errmap[] = {
nfsv3err_commit,
};
-extern struct proc *nfs_iodwant[NFS_MAXASYNCDAEMON];
extern struct nfsrtt nfsrtt;
struct pool nfsreqpl;
@@ -954,11 +953,6 @@ int
nfs_vfs_init(vfsp)
struct vfsconf *vfsp;
{
- int i;
-
- /* Ensure async daemons disabled */
- for (i = 0; i < NFS_MAXASYNCDAEMON; i++)
- nfs_iodwant[i] = (struct proc *)0;
TAILQ_INIT(&nfs_bufq);
nfs_nhinit(); /* Init the nfsnode table */
diff --git a/sys/nfs/nfs_syscalls.c b/sys/nfs/nfs_syscalls.c
index 008bbea973f..fee35ed0481 100644
--- a/sys/nfs/nfs_syscalls.c
+++ b/sys/nfs/nfs_syscalls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_syscalls.c,v 1.70 2008/07/06 16:54:48 thib Exp $ */
+/* $OpenBSD: nfs_syscalls.c,v 1.71 2008/08/08 20:44:38 blambert Exp $ */
/* $NetBSD: nfs_syscalls.c,v 1.19 1996/02/18 11:53:52 fvdl Exp $ */
/*
@@ -77,7 +77,6 @@
extern int32_t (*nfsrv3_procs[NFS_NPROCS])(struct nfsrv_descript *,
struct nfssvc_sock *,
struct proc *, struct mbuf **);
-extern struct proc *nfs_iodwant[NFS_MAXASYNCDAEMON];
extern int nfs_numasync;
extern int nfsrtton;
extern struct nfsstats nfsstats;
diff --git a/sys/nfs/nfs_vnops.c b/sys/nfs/nfs_vnops.c
index de940501b75..bbc567179fc 100644
--- a/sys/nfs/nfs_vnops.c
+++ b/sys/nfs/nfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_vnops.c,v 1.99 2008/08/08 20:40:24 blambert Exp $ */
+/* $OpenBSD: nfs_vnops.c,v 1.100 2008/08/08 20:44:38 blambert Exp $ */
/* $NetBSD: nfs_vnops.c,v 1.62.4.1 1996/07/08 20:26:52 jtc Exp $ */
/*
@@ -186,7 +186,6 @@ extern u_int32_t nfs_true, nfs_false;
extern u_int32_t nfs_xdrneg1;
extern struct nfsstats nfsstats;
extern nfstype nfsv3_type[9];
-struct proc *nfs_iodwant[NFS_MAXASYNCDAEMON];
int nfs_numasync = 0;