Windows: vol-salvage SalvInfo fixes

Commit 3d7388b790 broke the windows
build. Fix it:

 - SVGParms_t has no salvinfo member, but an svgp_salvinfo member

 - Correct the SalvageVolumeGroup prototype to match the actual
   implementation

Change-Id: I6515ff8a3850b09e959c95387c3e7c22b40794c1
Reviewed-on: http://gerrit.openafs.org/2595
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Andrew Deason 2010-08-19 11:35:40 -05:00 committed by Derrick Brashear
parent f6d1f17f48
commit 87dc2a312a
2 changed files with 2 additions and 2 deletions

View File

@ -1801,7 +1801,7 @@ void *
nt_SVG(void *arg)
{
SVGParms_t *parms = (SVGParms_t *) arg;
DoSalvageVolumeGroup(parms->salvinfo, parms->svgp_inodeSummaryp, parms->svgp_count);
DoSalvageVolumeGroup(parms->svgp_salvinfo, parms->svgp_inodeSummaryp, parms->svgp_count);
return NULL;
}

View File

@ -244,7 +244,7 @@ extern int SalvageVolume(struct SalvInfo *salvinfo, struct InodeSummary *rwIsp,
extern void DoSalvageVolumeGroup(struct SalvInfo *salvinfo,
struct InodeSummary *isp, int nVols);
#ifdef AFS_NT40_ENV
extern void SalvageVolumeGroup(struct InodeSummary *isp, int nVols);
extern void SalvageVolumeGroup(struct SalvInfo *salvinfo, struct InodeSummary *isp, int nVols);
#else
#define SalvageVolumeGroup DoSalvageVolumeGroup
#endif