ReplicatedPG: fix loop in check_recovery_sources

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
This commit is contained in:
Samuel Just 2012-03-29 18:00:50 -07:00
parent 4d74a7b2e9
commit 05ef3ba6d8

View 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;