]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
salvager: Remove PrintVolumeSummary
authorAndrew Deason <adeason@sinenomine.net>
Wed, 22 Feb 2012 00:03:24 +0000 (18:03 -0600)
committerStephan Wiesand <stephan.wiesand@desy.de>
Thu, 4 Apr 2013 11:17:38 +0000 (04:17 -0700)
Nothing uses this function; remove it.

Reviewed-on: http://gerrit.openafs.org/6785
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
(cherry picked from commit d426e613b9a4802c3b404903f7122f6fd0046aba)

Change-Id: Ibca098550a073013228c4907fbbeab7f3c0333ae
Reviewed-on: http://gerrit.openafs.org/9460
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/vol/vol-salvage.c
src/vol/vol-salvage.h

index 24d6e1d47aec4d78aa674c6110569f2e0c573cfb..152effcd81153541bcedbbb50b5488a54f8699fb 100644 (file)
@@ -4618,17 +4618,6 @@ PrintInodeSummary(struct SalvInfo *salvinfo)
     }
 }
 
-void
-PrintVolumeSummary(struct SalvInfo *salvinfo)
-{
-    int i;
-    struct VolumeSummary *vsp;
-
-    for (i = 0, vsp = salvinfo->volumeSummaryp; i < salvinfo->nVolumes; vsp++, i++) {
-       Log("fileName:%s, header, wouldNeedCallback\n", vsp->fileName);
-    }
-}
-
 int
 Fork(void)
 {
index 1c6c2d51799ad9081727b46fff06e7d12463b90d..1f7c44350629f7d0e13238fab4ad21faec4754b1 100644 (file)
@@ -223,7 +223,6 @@ extern void ObtainSalvageLock(void);
 extern void ObtainSharedSalvageLock(void);
 extern void PrintInodeList(struct SalvInfo *salvinfo);
 extern void PrintInodeSummary(struct SalvInfo *salvinfo);
-extern void PrintVolumeSummary(struct SalvInfo *salvinfo);
 extern int QuickCheck(struct SalvInfo *salvinfo, struct InodeSummary *isp,
                       int nVols);
 extern void RemoveTheForce(char *path);