The following commit has been merged in the master branch:
commit 75e3a5897405eeeba047cca1103ac32ccfaa03dc
Author: Michael Meffie <[email protected]>
Date: Sat Mar 8 11:41:26 2014 -0500
libafs: afs_InitVolSlot function
Add a new local function to initialize newly gotten volume slots and
move that code out of afs_SetupVolume(). Initialize the slot before
putting the volume in the volume hash table list.
Make it more clear to avoid using record 0. The volume items record 0 is
not used, so avoid setting the tf pointer to the static fvolume buffer
when reading record 0.
Change-Id: Iffba52fbf8d72459c9a36015964e61d485f22ad4
Reviewed-on: http://gerrit.openafs.org/10877
Tested-by: BuildBot <[email protected]>
Reviewed-by: D Brashear <[email protected]>
src/afs/afs_stats.h | 3 +-
src/afs/afs_volume.c | 65 ++++++++++++++++++++++++++++++++-----------------
2 files changed, 44 insertions(+), 24 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs