From: Patrick Donnelly Date: Mon, 14 Dec 2020 21:11:11 +0000 (-0800) Subject: osd: remove invalid put on message X-Git-Tag: v16.1.0~199^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8a41ef1c58f5dfa4a3e87169057886ceb2ce108a;p=ceph.git osd: remove invalid put on message This has already been converted to use smart pointers. This put the method return to double-put the MessageRef argument. Fixes: https://tracker.ceph.com/issues/48600 Signed-off-by: Patrick Donnelly --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 9b66cb7cd4c..30604fe3f99 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -805,7 +805,6 @@ void PG::send_cluster_message( ConnectionRef con = osd->get_con_osd_cluster( target, get_osdmap_epoch()); if (!con) { - m->put(); return; }