]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ReplicatedPG: fix loop in check_recovery_sources
authorSamuel Just <samuel.just@dreamhost.com>
Fri, 30 Mar 2012 01:00:50 +0000 (18:00 -0700)
committerSamuel Just <samuel.just@dreamhost.com>
Fri, 30 Mar 2012 01:02:57 +0000 (18:02 -0700)
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
src/osd/ReplicatedPG.cc

index a08c0ed634ac5562716c7453d85414ba72ba8d4e..8453a98c3d7fdaf7724cf8a59532da4d973529b5 100644 (file)
@@ -5646,7 +5646,7 @@ bool ReplicatedPG::check_recovery_sources(const OSDMapRef osdmap)
   set<int> now_down;
   for (set<int>::iterator p = missing_loc_sources.begin();
        p != missing_loc_sources.end();
-       ++p) {
+       ) {
     if (osdmap->is_up(*p)) {
       p++;
       continue;