]> git.apps.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, 10 Mar 2016 13:30:47 +0000 (08:30 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 47b650c1497b8eaf37cfcb7e3b9fda12d8cf2d7a)

src/mon/OSDMonitor.cc

index e831c488b13e4efc78741a9ee7d0131e105d6db6..cedf19a686b04520c907dfb3f65bbee3676f0ce4 100644 (file)
@@ -639,7 +639,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) {