]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: remove invalid put on message 38573/head
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 14 Dec 2020 21:11:11 +0000 (13:11 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 15 Dec 2020 02:48:01 +0000 (18:48 -0800)
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 <pdonnell@redhat.com>
src/osd/PG.cc

index 9b66cb7cd4c64d3da822fec3b0d29ce505c33867..30604fe3f99a68a0114813e0405dc482b452e03d 100644 (file)
@@ -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;
   }