]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: update handle_osd_map call
authorJohn Spray <john.spray@redhat.com>
Mon, 25 Aug 2014 00:45:22 +0000 (01:45 +0100)
committerJohn Spray <john.spray@redhat.com>
Mon, 25 Aug 2014 00:45:22 +0000 (01:45 +0100)
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 <john.spray@redhat.com>
src/osd/OSD.cc

index 179ec0dac606d8ef1b9072b10aa9880c39c46f6b..9b4507ac937552f55a22921192e8b6e1a86c9273 100644 (file)
@@ -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();