]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
PG: fix typo in PgPriorSet constructor
authorSamuel Just <samuel.just@dreamhost.com>
Tue, 13 Sep 2011 21:40:27 +0000 (14:40 -0700)
committerSamuel Just <samuel.just@dreamhost.com>
Tue, 13 Sep 2011 21:40:56 +0000 (14:40 -0700)
down.insert(o) rather than down.insert(0)

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
src/osd/PG.cc

index 36be8327f956f45d88d383e456075e88a553fdc4..f1da29adde23dae5fbd2d128a0d7c6939770f306 100644 (file)
@@ -4954,7 +4954,7 @@ PG::PgPriorSet::PgPriorSet(int whoami,
        // did any osds survive _this_ interval?
        any_survived = true;
       } else if (!pinfo || pinfo->lost_at > interval.first) {
-       down.insert(0);
+       down.insert(o);
        if (started_since_joining.size()) {
          if (pinfo)
            dout(10) << "build_prior  prior osd" << o