]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
salvager: Whitespace formatting
authorAndrew Deason <adeason@sinenomine.net>
Mon, 30 Sep 2013 22:51:40 +0000 (17:51 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Thu, 30 Jan 2014 11:38:11 +0000 (03:38 -0800)
The whitespace here is pretty weird. Clean it up a little.

Reviewed-on: http://gerrit.openafs.org/10311
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
(cherry picked from commit 93b0e0d50fb14561ca2b8b0c20876826335ec1ab)

Change-Id: I2ee835fb33017301f207d827da10c93bc54bdf4a
Reviewed-on: http://gerrit.openafs.org/10768
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/vol/vol-salvage.c

index e653f1700751b672ffebde337d762232bcd78c32..861f3f1b678a5e7abe84c7664685ccb745f8b2ec 100644 (file)
@@ -2013,18 +2013,18 @@ DoSalvageVolumeGroup(struct SalvInfo *salvinfo, struct InodeSummary *isp, int nV
        if (Testing) {
            IH_INIT(salvinfo->VGLinkH, salvinfo->fileSysDevice, -1, -1);
        } else {
-            int i, j;
-            struct ViceInodeInfo *ip;
+           int i, j;
+           struct ViceInodeInfo *ip;
            CreateLinkTable(salvinfo, isp, ino);
            fdP = IH_OPEN(salvinfo->VGLinkH);
-            /* Sync fake 1 link counts to the link table, now that it exists */
-            if (fdP) {
-               for (i = 0; i < nVols; i++) {
-                       ip = allInodes + isp[i].index;
-                        for (j = isp[i].nSpecialInodes; j < isp[i].nInodes; j++) {
-                                namei_SetLinkCount(fdP, ip[j].inodeNumber, 1, 1);
+           /* Sync fake 1 link counts to the link table, now that it exists */
+           if (fdP) {
+               for (i = 0; i < nVols; i++) {
+                   ip = allInodes + isp[i].index;
+                   for (j = isp[i].nSpecialInodes; j < isp[i].nInodes; j++) {
+                       namei_SetLinkCount(fdP, ip[j].inodeNumber, 1, 1);
                    }
-               }
+               }
            }
        }
     }