]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/OSDMonitor: fix indentation
authorSage Weil <sage@redhat.com>
Thu, 3 Mar 2016 18:38:19 +0000 (13:38 -0500)
committerSage Weil <sage@redhat.com>
Thu, 3 Mar 2016 18:49:06 +0000 (13:49 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/OSDMonitor.cc

index 7d476f3309b2eed057232886c6af4ec3c0a6d636..38dc58c6f832f74f5fe334a1b2d1e2821f8be548 100644 (file)
@@ -646,7 +646,7 @@ int OSDMonitor::reweight_by_utilization(int oload,
       unsigned new_weight = (unsigned)((average_util / util) * (float)weight);
       new_weight = MIN(new_weight, weight + max_change);
       if (new_weight > 0x10000)
-          new_weight = 0x10000;
+       new_weight = 0x10000;
       if (new_weight > weight) {
        newinc.new_weight[p->first] = new_weight;
        if (!dry_run) {