Reset callout if in nfs_timeout and rpcclnt_timeout functions. Timer

are supposed to continue firing as long as there is work to do, not
stop after the first invocation.

This is damage control after a patch that has been committed prematurely.

Tested by:	kris
This commit is contained in:
kan 2004-03-28 05:55:27 +00:00
parent 07a326f176
commit 97b7fb767e
2 changed files with 3 additions and 0 deletions

View File

@ -1188,6 +1188,7 @@ nfs_timer(void *arg)
}
}
splx(s);
callout_reset(&nfs_callout, nfs_ticks, nfs_timer, NULL);
}
/*

View File

@ -1478,6 +1478,8 @@ rpcclnt_timer(arg)
#ifdef __OpenBSD__
timeout_add(rpcclnt_timer, to, rpcclnt_ticks);
#else
callout_reset(&rpcclnt_callout, rpcclnt_ticks, rpcclnt_timer, NULL);
#endif
}