From 6c81960e15a5b7455822b6742a2e0ac27fd2e200 Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Tue, 13 Sep 2011 14:40:27 -0700 Subject: [PATCH] PG: fix typo in PgPriorSet constructor down.insert(o) rather than down.insert(0) Signed-off-by: Samuel Just --- src/osd/PG.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 36be8327f956f..f1da29adde23d 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -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 -- 2.39.5