summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_subs.c
diff options
context:
space:
mode:
authormarius eriksen <marius@cvs.openbsd.org>2004-07-21 17:30:57 +0000
committermarius eriksen <marius@cvs.openbsd.org>2004-07-21 17:30:57 +0000
commit8c63bfaaa4de115f5eabc751313bc89ba98416a9 (patch)
tree87e49f080a1a6ce8e2a372e1ce89f394670a08f1 /sys/nfs/nfs_subs.c
parentcc5eaab71db5913f1cabde480da7f3508f46622d (diff)
kqueue support for NFS, adapted from netbsd.
ok art@ pedro@, "get it in" deraadt@
Diffstat (limited to 'sys/nfs/nfs_subs.c')
-rw-r--r--sys/nfs/nfs_subs.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/nfs/nfs_subs.c b/sys/nfs/nfs_subs.c
index 04f487a2a62..03c30ea00da 100644
--- a/sys/nfs/nfs_subs.c
+++ b/sys/nfs/nfs_subs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_subs.c,v 1.47 2004/07/16 15:01:51 henning Exp $ */
+/* $OpenBSD: nfs_subs.c,v 1.48 2004/07/21 17:30:55 marius Exp $ */
/* $NetBSD: nfs_subs.c,v 1.27.4.3 1996/07/08 20:34:24 jtc Exp $ */
/*
@@ -1071,6 +1071,10 @@ nfs_init()
timeout_set(&nfs_timer_to, nfs_timer, &nfs_timer_to);
nfs_timer(&nfs_timer_to);
+
+#ifdef NFSCLIENT
+ nfs_kqinit();
+#endif
}
#ifdef NFSCLIENT