From ff6712be60ec81725c4dd3f1f659eb592d4ec5ad Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Mon, 30 Sep 2013 17:51:40 -0500 Subject: [PATCH] salvager: Whitespace formatting The whitespace here is pretty weird. Clean it up a little. Reviewed-on: http://gerrit.openafs.org/10311 Tested-by: BuildBot Reviewed-by: Derrick Brashear (cherry picked from commit 93b0e0d50fb14561ca2b8b0c20876826335ec1ab) Change-Id: I2ee835fb33017301f207d827da10c93bc54bdf4a Reviewed-on: http://gerrit.openafs.org/10768 Tested-by: BuildBot Reviewed-by: Andrew Deason Reviewed-by: Stephan Wiesand --- src/vol/vol-salvage.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/vol/vol-salvage.c b/src/vol/vol-salvage.c index e653f1700..861f3f1b6 100644 --- a/src/vol/vol-salvage.c +++ b/src/vol/vol-salvage.c @@ -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); } - } + } } } } -- 2.39.5