]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-windows-vol-ntops-20060905
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 6 Sep 2006 00:50:18 +0000 (00:50 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 6 Sep 2006 00:50:18 +0000 (00:50 +0000)
if the function is namei_XXX on unix then it is nt_XXXX on Windows

(cherry picked from commit 51b862ef8869823fd0ba09045b88cab9ab197117)

src/vol/vol-salvage.c

index 3ad0a194a4f672b74f46cc5adc71691c38b62744..4f424e927e1fc4119f8b0f57d0dd9b56b92c64e2 100644 (file)
@@ -1461,7 +1461,11 @@ DoSalvageVolumeGroup(register struct InodeSummary *isp, int nVols)
                for (i = 0; i < nVols; i++) {
                        ip = allInodes + isp[i].index;
                         for (j = isp[i].nSpecialInodes; j < isp[i].nInodes; j++) {
+#ifdef AFS_NT40_ENV
+                                nt_SetLinkCount(fdP, ip[j].inodeNumber, 1, 1);
+#else
                                 namei_SetLinkCount(fdP, ip[j].inodeNumber, 1, 1);
+#endif
                    }
                }
            }