From: John Spray Date: Mon, 25 Aug 2014 00:45:22 +0000 (+0100) Subject: osd: update handle_osd_map call X-Git-Tag: v0.86~213^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a67421a5de5d94ec6953421fa142b5f239af9a94;p=ceph.git osd: update handle_osd_map call I had changed the implementation in Objecter to avoid a spurious get/put cycle in "osdc/Objecter: fix resource management", but this guy was still going a get() before calling handle_osd_map. Signed-off-by: John Spray --- diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 179ec0dac60..9b4507ac937 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -6098,7 +6098,6 @@ void OSD::handle_osd_map(MOSDMap *m) session->put(); // share with the objecter - m->get(); service.objecter->handle_osd_map(m); epoch_t first = m->get_first();