The following commit has been merged in the master branch:
commit 42fb8786a8fff30ea97524f896c5aee4fa307f89
Author: Mark Vitale <[email protected]>
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 <[email protected]>
Reviewed-by: Benjamin Kaduk <[email protected]>
src/viced/callback.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs