The following commit has been merged in the master branch:
commit e18e94887a8452dab8218c666c3d9a324ffb153f
Author: Mark Vitale <[email protected]>
Date: Fri Aug 28 21:53:25 2020 -0400
volser: Introduce GetLockedEntry
In preparation for a future commit, consolidate common VL_SetLock and
VL_GetEntryById logic into a new routine GetLockedEntry.
This commit should incur no practical change in behavior, but there is a
minor internal behavior change for one case:
For the case in UV_ConvertRO(), previously we called VL_SetLock with the
RW volume id (with volume type RWVOL), and called VL_GetEntryByID with
the RO volume id (with the volume type -1); now we call both with the RW
volume id. We get these volume IDs from the same VL entry, and they must
refer to the same VL entry in order for this function to work properly,
so this difference should not matter.
Change-Id: I76faf3d184c397bceff27ba3a857b5c80c88e814
Reviewed-on: https://gerrit.openafs.org/14350
Tested-by: BuildBot <[email protected]>
Reviewed-by: Michael Meffie <[email protected]>
Reviewed-by: Cheyenne Wills <[email protected]>
Reviewed-by: Mark Vitale <[email protected]>
Reviewed-by: Andrew Deason <[email protected]>
src/volser/vsprocs.c | 184 +++++++++++++++++++++------------------------------
1 file changed, 77 insertions(+), 107 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs