The following commit has been merged in the master branch:
commit 0c89335b5aa7ae3582862596878936dfcbe99bf1
Author: Andrew Deason <[email protected]>
Date: Tue Apr 30 17:32:26 2013 -0500
afs: Refactor GetDSlot parameters
The 'indexvalid' and 'datavalid' parameters were really representing 3
different scenarios, not 2 different values with 2 possibilities each.
Change these to a single parameter, 'type', with 3 different values:
DSLOT_NEW, DSLOT_UNUSED, and DSLOT_VALID. Hopefully this will make the
relevant code paths easier to understand.
This should incur no functional change; it is just code
reorganization.
Change-Id: Iac921e74532de89121b461fa0f53ddb778735e0c
Reviewed-on: http://gerrit.openafs.org/9834
Tested-by: BuildBot <[email protected]>
Reviewed-by: Chas Williams - CONTRACTOR <[email protected]>
Reviewed-by: Daria Brashear <[email protected]>
src/afs/afs_chunkops.h | 20 +++++++++++++++-----
src/afs/afs_dcache.c | 44 ++++++++++++++++++++++----------------------
src/afs/afs_prototypes.h | 4 ++--
3 files changed, 39 insertions(+), 29 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs