Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 1996 04:13:25 -0700 (PDT)
From:      Poul-Henning Kamp <phk>
To:        CVS-committers, cvs-all, cvs-sys
Subject:   cvs commit:  src/sys/nfs nfs_socket.c nfs_subs.c
Message-ID:  <199606141113.EAA08287@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

phk         96/06/14 04:13:25

  Modified:    sys/nfs   nfs_socket.c nfs_subs.c
  Log:
  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>
  
  Revision  Changes    Path
  1.16      +9 -6      src/sys/nfs/nfs_socket.c
  1.29      +3 -3      src/sys/nfs/nfs_subs.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606141113.EAA08287>