aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sade/config.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1996-06-14 11:13:21 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1996-06-14 11:13:21 +0000
commit5b28a6011f188a4565c998f9eb62181bb750c313 (patch)
tree5ced02520e76d56e1eb1c52376ef25a03b02891b /usr.sbin/sade/config.c
parent33fef343f94ba75657b346335bfbb95b0fea4834 (diff)
downloadsrc-5b28a6011f188a4565c998f9eb62181bb750c313.tar.gz
src-5b28a6011f188a4565c998f9eb62181bb750c313.zip
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>
Notes
Notes: svn path=/head/; revision=16365
Diffstat (limited to 'usr.sbin/sade/config.c')
0 files changed, 0 insertions, 0 deletions