]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osdc/Objecter: fix ref counts in *Map_Latest
authorJohn Spray <john.spray@redhat.com>
Sat, 23 Aug 2014 19:03:47 +0000 (20:03 +0100)
committerJohn Spray <john.spray@redhat.com>
Mon, 25 Aug 2014 00:34:19 +0000 (01:34 +0100)
commite7e7fdb903b07c8c960dbb2780b6332e9eb0612a
tree1d8a4fd12007276d8f16515e27628dbb05f200d4
parentad193e1e2d8c8218334c02fde9a4589ac810aced
osdc/Objecter: fix ref counts in *Map_Latest

These contexts were putting before continuing to
use the CommandOp/LingerOp.  I added an assert to
reflect that, which was hitting (#9207).

This change is to remove the assertion and put the
put() in the right place (and the end of the function).

Fixes: #9207
Signed-off-by: John Spray <john.spray@redhat.com>
src/osdc/Objecter.cc