1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/sys/nfs
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
..
nfs_bio.c Clear flags before using an inactive buffer. This is a kludge, but 1996-06-08 05:59:04 +00:00
nfs_common.c Fix for NFS_NOSERVER 1996-06-14 11:13:21 +00:00
nfs_common.h Some fixes found using gcc -Wall: 1995-08-24 10:45:16 +00:00
nfs_node.c Moved the fsnode MALLOC to before the call to getnewvnode() so that the 1996-06-12 03:37:57 +00:00
nfs_nqlease.c Add an option NFS_NOSERVER which saves 100K in the install kernel (or 1996-01-13 23:27:58 +00:00
nfs_serv.c Fixed a vnode reference leak in nfsrv_rename(). The target inode wasn't 1996-06-08 12:16:26 +00:00
nfs_socket.c Fix for NFS_NOSERVER 1996-06-14 11:13:21 +00:00
nfs_srvcache.c Add an option NFS_NOSERVER which saves 100K in the install kernel (or 1996-01-13 23:27:58 +00:00
nfs_subs.c Fix for NFS_NOSERVER 1996-06-14 11:13:21 +00:00
nfs_syscalls.c #include <sys/filedesc.h> explicitly instead of depending on it being 1996-04-30 23:26:52 +00:00
nfs_vfsops.c removed: 1996-05-02 14:21:14 +00:00
nfs_vnops.c Fixed spelling of s_namlen so that this compiles again. 1996-01-25 00:45:37 +00:00
nfs.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
nfsdiskless.h
nfsm_subs.h Some fixes found using gcc -Wall: 1995-08-24 10:45:16 +00:00
nfsmount.h Staticize. 1995-12-17 21:14:36 +00:00
nfsnode.h Staticize. 1995-12-17 21:14:36 +00:00
nfsproto.h
nfsrtt.h
nfsrvcache.h
nfsv2.h
nqnfs.h Staticize. 1995-12-17 21:14:36 +00:00
rpcv2.h
xdr_subs.h