OpenAFS Master Repository branch, master, updated. BP-openafs-stable-1_8_x-637-g42fb878
Gerrit Code Review
gerrit@openafs.org
Fri, 10 Jul 2020 00:56:43 -0400
The following commit has been merged in the master branch:
commit 42fb8786a8fff30ea97524f896c5aee4fa307f89
Author: Mark Vitale <mvitale@sinenomine.net>
Date: Thu Jun 25 11:45:19 2020 -0400
viced: propagate return from CleanupTimedOutCallBacks_r
The fileserver's FiveMinuteCheckLWP periodically calls
CleanupTimedOutCallBacks, and logs an informational messages if the
return code indicates that any callbacks were discarded.
However, since the original IBM code import, CleanupTimedOutCallBacks
has 1) ignored the return value from CleanupTimedOutCallBacks_r and 2)
unconditionally returned 0. This makes the informational message
essentially dead code.
Instead, check the code from CleanupTimedOutCallBacks_r and pass it back
to the caller.
Change-Id: I631831c398e43431b79f4a3a0c6f01307ac0c05e
Reviewed-on: https://gerrit.openafs.org/14256
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/viced/callback.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
--
OpenAFS Master Repository