OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-4547-g0c89335
Gerrit Code Review
gerrit@openafs.org
Wed, 14 Jan 2015 10:27:40 -0500
The following commit has been merged in the master branch:
commit 0c89335b5aa7ae3582862596878936dfcbe99bf1
Author: Andrew Deason <adeason@sinenomine.net>
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 <buildbot@rampaginggeek.com>
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Reviewed-by: Daria Brashear <shadow@your-file-system.com>
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