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>
Fri, 4 Mar 2011 15:35:53 +0000 (07:35 -0800)
commitbb25fc6418bac937b31476754a09199636c24211
tree98f5dd3d2ee915c736f1cf92969c543509a935e9
parentaadf69eabb1962496fa93745ab560a5b48cacd61
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.

Change-Id: I8c647cd9dec7aaf14183452126049323859ac7a3
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>
src/vol/vol-salvage.c