From 7e26d6df10f56ee7d2ec0f02f91fbd3290ce64a0 Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Tue, 3 Jul 2012 08:43:30 -0700 Subject: [PATCH] PG: C_PG_MarkUnfoundLost put pg in finish Signed-off-by: Samuel Just --- src/osd/ReplicatedPG.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index 36d7f0fec4571..b4d5e97d129ca 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -5547,6 +5547,7 @@ struct C_PG_MarkUnfoundLost : public Context { } void finish(int r) { pg->_finish_mark_all_unfound_lost(obcs); + pg->put(); } }; @@ -5661,7 +5662,6 @@ void ReplicatedPG::_finish_mark_all_unfound_lost(list& obcs) obcs.pop_front(); } unlock(); - put(); } -- 2.39.5