diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | utils/mountd/cache.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,4 +1,9 @@ 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au> + * utils/mountd/cache.c(cache_process_req): clear fd after + processing so as not to confused libc/sunrpc into thinking + it need to do something with that fd. + +2004-08-31 NeilBrown <neilb@cse.unsw.edu.au> * debian/nfs-kernel-server.init(start,stop) mount the nfsd filesystem, if available, before starting nfs services, and diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c index 3a16641..77029f4 100644 --- a/utils/mountd/cache.c +++ b/utils/mountd/cache.c @@ -315,6 +315,7 @@ int cache_process_req(fd_set *readfds) FD_ISSET(fileno(cachelist[i].f), readfds)) { cnt++; cachelist[i].cache_handle(cachelist[i].f); + FD_CLR(fileno(cachelist[i].f), readfds); } } return cnt; |