freebsd-nq/sys
Poul-Henning Kamp 5b28a6011f Fix for NFS_NOSERVER
Poul mentioned that he thought this was some kind of timing problem, and
that started me thinking. After a little poking around, I found that
nfs_timer() was completely disabled when NFS_NOSERVER was #defined.
But after looking at nfs_timer(), it seemed like it was something
required by both the client and server code, and disabling it outright
just didn't seem to make any sense. Parts of it relate only to the
NFS server side code, so I disabled those, but I re-enabled the rest
of the function and made sure that it would be called from nfs_init()
(in nfs_subs.c).

With nfs_timer() re-enabled, everything seems to work again. The only
other changes I made were to #ifdef away some variable declarations
in the NFS_NOSERVER case so that gcc would stop complaining about
unused variables.

Reviewed by:	phk
Submitted by:	Bill Paul <wpaul@skynet.ctr.columbia.edu>
1996-06-14 11:13:21 +00:00
..
alpha The Great PC98 Merge. 1996-06-14 11:02:28 +00:00
amd64 The Great PC98 Merge. 1996-06-14 11:02:28 +00:00
compat/linux Clean up -Wunused warnings. 1996-06-12 05:11:41 +00:00
compile
conf The PC98-specific files. 1996-06-14 10:04:54 +00:00
ddb Clean up various compiler warnings. Most (if not all) were benign 1996-05-08 04:29:08 +00:00
dev The Great PC98 Merge. 1996-06-14 11:02:28 +00:00
fs The Great PC98 Merge. 1996-06-14 11:02:28 +00:00
geom Clean up -Wunused warnings. 1996-06-12 05:11:41 +00:00
gnu Clean up -Wunused warnings. 1996-06-12 05:11:41 +00:00
i386 The Great PC98 Merge. 1996-06-14 11:02:28 +00:00
isa Move warning messages under bootverbose 1996-06-11 16:11:27 +00:00
isofs/cd9660 Moved the fsnode MALLOC to before the call to getnewvnode() so that the 1996-06-12 03:36:23 +00:00
kern The Great PC98 Merge. 1996-06-14 11:02:28 +00:00
libkern Added index() which will be used shortly in some fixes to the ibcs2 1996-06-07 22:21:31 +00:00
miscfs Clean up -Wunused warnings. 1996-06-12 05:11:41 +00:00
modules Add ccd. 1996-06-12 03:49:35 +00:00
msdosfs The Great PC98 Merge. 1996-06-14 11:02:28 +00:00
net The Great PC98 Merge. 1996-06-14 11:02:28 +00:00
netatalk Obtained from: netatalk distribution netatalk@itd.umich.edu 1996-05-24 01:35:45 +00:00
netinet Don't try to include opt_ipfw.h in LKMs 1996-06-13 17:35:28 +00:00
netipx Clean up -Wunused warnings. 1996-06-12 05:11:41 +00:00
netns finish killing off netns. (For some reason, CVS `undeleted' these 1996-02-13 18:19:17 +00:00
nfs Fix for NFS_NOSERVER 1996-06-14 11:13:21 +00:00
nfsclient Fix for NFS_NOSERVER 1996-06-14 11:13:21 +00:00
nfsserver Fix for NFS_NOSERVER 1996-06-14 11:13:21 +00:00
pc98 The PC98-specific files. 1996-06-14 10:04:54 +00:00
pccard Oops, forgot to delete some garbage from working code. 1996-06-14 11:10:19 +00:00
pci The Great PC98 Merge. 1996-06-14 11:02:28 +00:00
powerpc/include Add commands for ptrace get/set registers.. (Same numbers as NetBSD) 1996-01-24 18:51:48 +00:00
rpc Fix a bunch of spelling errors in the comment fields 1996-01-30 23:33:04 +00:00
scsi The Great PC98 Merge. 1996-06-14 11:02:28 +00:00
sys The Great PC98 Merge. 1996-06-14 11:02:28 +00:00
tools Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
ufs Clean up -Wunused warnings. 1996-06-12 05:11:41 +00:00
vm Fix a very significant cnt.v_wire_count leak in vm_page.c, and some 1996-06-12 06:52:12 +00:00
Makefile The Great PC98 Merge. 1996-06-14 11:02:28 +00:00