The following commit has been merged in the master branch:
commit 896524963ca1f1d8144a668dafefc8ce88ad440b
Author: Mark Vitale <[email protected]>
Date: Fri Oct 9 16:28:15 2020 -0400
vol: move ih_PkgDefaultsSet check inside ih_PkgDefaults
Instead of repeating the oneshot check in each caller of ih_PkgDefaults,
move the oneshot check into ih_PkgDefaults itself.
While here, ensure that ih_PkgDefaults does its work under IH_LOCK.
Finally, make ih_PkgDefaultsSet a local static variable (no longer
exported).
Change-Id: I66717de12cb5cc70de0507a768f968f6afbd38f8
Reviewed-on: https://gerrit.openafs.org/14383
Reviewed-by: Benjamin Kaduk <[email protected]>
Reviewed-by: Mark Vitale <[email protected]>
Tested-by: BuildBot <[email protected]>
src/vol/ihandle.c | 24 ++++++++++++++----------
1 files changed, 14 insertions(+), 10 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs