mirror of
https://git.openafs.org/openafs.git
synced 2025-01-20 07:51:00 +00:00
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:
parent
f6d1f17f48
commit
87dc2a312a
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user