From 07e118624c367b148f14df1bd44158d4c68799d7 Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Wed, 21 Dec 2011 11:19:22 -0800 Subject: [PATCH] ReplicatedPG: Initialize blocked_by in ObjectContext constructor Signed-off-by: Samuel Just --- src/osd/ReplicatedPG.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/osd/ReplicatedPG.h b/src/osd/ReplicatedPG.h index f9eda15ffcc9d..f5bd34297fa7a 100644 --- a/src/osd/ReplicatedPG.h +++ b/src/osd/ReplicatedPG.h @@ -283,7 +283,8 @@ public: ObjectContext(const object_info_t &oi_, bool exists_, SnapSetContext *ssc_) : ref(0), registered(false), obs(oi_, exists_), ssc(ssc_), lock("ReplicatedPG::ObjectContext::lock"), - unstable_writes(0), readers(0), writers_waiting(0), readers_waiting(0) {} + unstable_writes(0), readers(0), writers_waiting(0), readers_waiting(0), + blocked_by(0) {} void get() { ++ref; } -- 2.39.5