]> git.michaelhowe.org Git - packages/o/openafs.git/commit
vol-salvage: calloc volume summary structs
authorAndrew Deason <adeason@sinenomine.net>
Wed, 2 Mar 2011 20:10:33 +0000 (14:10 -0600)
committerDerrick Brashear <shadow@dementia.org>
Tue, 8 Mar 2011 12:15:13 +0000 (04:15 -0800)
commit9cb10be35b6942111a1110f569c8c77191ddbd23
treeddf1b013e26bcd632fcb7a6c680a04adf534c3a9
parent80159e9312ed2249866159170cea568a2108250d
vol-salvage: calloc volume summary structs

Calloc volume summary structs instead of malloc'ing them, in
vol-salvage.c. This way, new fields added to struct VolumeSummary will
be known to be zeroed by default, without needing to update all of the
allocating callers.

Reviewed-on: http://gerrit.openafs.org/4117
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
(cherry picked from commit bb25fc6418bac937b31476754a09199636c24211)

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