summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/osd/OSD.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc
index 66b3a58eb51..d66e9841d42 100644
--- a/src/osd/OSD.cc
+++ b/src/osd/OSD.cc
@@ -2642,7 +2642,7 @@ bool OSD::heartbeat_reset(Connection *con)
if (newcon.first) {
p->second.con_back = newcon.first.get();
p->second.con_back->get();
- p->second.con_back->set_priv(s);
+ p->second.con_back->set_priv(s->get());
if (newcon.second) {
p->second.con_front = newcon.second.get();
p->second.con_front->get();