volinfo: remove code duplication in HandleVolumes
authorMichael Meffie <mmeffie@sinenomine.net>
Sat, 21 May 2011 16:06:43 +0000 (12:06 -0400)
committerDerrick Brashear <shadow@dementia.org>
Sun, 22 May 2011 14:00:35 +0000 (07:00 -0700)
commitae27283550dab33704f30e18975722e0ed2c5424
treecaa58718d766dbaff87e54a247fde67d6d568f4d
parentc833ff6c5b7f9c27cf26eae4833b033bd7382c56
volinfo: remove code duplication in HandleVolumes

Reduce duplicate code for processing volume header files when printing header
details (-header) and calculating the volume size (-sizeOnly).

Change-Id: I1f1d3b3d065901379c289065dfa1999e249662a4
Reviewed-on: http://gerrit.openafs.org/4695
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/vol/vol-info.c