]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "osd: fix leak of heartbeat con on reset"
authorSage Weil <sage@inktank.com>
Fri, 30 Nov 2012 01:03:30 +0000 (17:03 -0800)
committerSage Weil <sage@inktank.com>
Fri, 30 Nov 2012 01:03:30 +0000 (17:03 -0800)
This reverts commit b31a99abda75b9170a5805b02944a0c0c78245b7.

src/osd/OSD.cc

index a252265fe9f85827c77444904611ff40684270f7..9c57b66c4b89b35d15b47758f1c134e40731b926 100644 (file)
@@ -2094,8 +2094,6 @@ bool OSD::heartbeat_reset(Connection *con)
        return true;
       }
       dout(10) << "heartbeat_reset reopen failed hb con " << con << dendl;
-      if (p->second.con)
-       p->second.con->put();
       p->second.con = newcon;
       p->second.con->set_priv(s);
     } else {