]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/MDSMonitor: drop incorrect m->put()
authorSage Weil <sage@redhat.com>
Mon, 14 Sep 2015 01:36:29 +0000 (21:36 -0400)
committerSage Weil <sage@redhat.com>
Mon, 14 Sep 2015 01:36:29 +0000 (21:36 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/MDSMonitor.cc

index 70b1110bb09510c4f67c975f714aaee72416ee62..2530628d802216f09e82b0359b4c9d7edb5cffba 100644 (file)
@@ -300,7 +300,6 @@ bool MDSMonitor::preprocess_beacon(MonOpRequestRef op)
       dout(7) << "mds_beacon " << *m << " is not in mdsmap (state "
               << ceph_mds_state_name(state) << ")" << dendl;
       mon->send_reply(op, new MMDSMap(mon->monmap->fsid, &mdsmap));
-      m->put();
       return true;
     } else {
       return false;  // not booted yet.