]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-windows-vol-ntops-20060905
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 6 Sep 2006 00:48:50 +0000 (00:48 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 6 Sep 2006 00:48:50 +0000 (00:48 +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 47104a67f6a118dc1401c3e6c2fb87a7c46b6af8..a0fd95608672523c90d238ea67bb16acd8bb526b 100644 (file)
@@ -1980,7 +1980,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
                    }
                }
            }