OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_71-65-ga1616e2
Gerrit Code Review
gerrit@openafs.org
Tue, 9 Feb 2010 11:53:34 -0800 (PST)
The following commit has been merged in the master branch:
commit a1616e2c93b0922a47958d2c4dc8db41202adca0
Author: Andrew Deason <adeason@sinenomine.net>
Date: Thu Feb 4 16:26:21 2010 -0600
Consolidate code for reading/writing vol headers
The code for reading in and overwriting/replacing volume headers is
duplicated many times throughout the volume package. Consolidate the
code into the functions VReadVolumeHeader, VWriteVolumeHeader,
VCreateVolumeHeader, and VDestroyVolumeHeader. This makes it easy to
change the semantics of how headers are read/written, though this commit
should not change them.
Change-Id: Id395ee25fc2db92de9301b9cdbe18f30830e18d3
Reviewed-on: http://gerrit.openafs.org/1238
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/vol/listinodes.c | 44 ++++------
src/vol/namei_ops.c | 50 ++++-------
src/vol/nuke.c | 23 ++---
src/vol/purge.c | 20 ++++-
src/vol/vol-salvage.c | 65 +++++++++------
src/vol/volume.c | 9 +--
src/vol/volume.h | 10 ++
src/vol/vutil.c | 222 +++++++++++++++++++++++++++++++++++++++++++++----
8 files changed, 314 insertions(+), 129 deletions(-)
--
OpenAFS Master Repository