]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osdc/Objecter: call notify completion only once 7992/head
authorSage Weil <sage@redhat.com>
Mon, 16 Nov 2015 16:32:34 +0000 (11:32 -0500)
committerNathan Cutler <ncutler@suse.com>
Wed, 9 Mar 2016 03:42:55 +0000 (04:42 +0100)
commit38b9c0b2fbbb056c29cd0485a9831edce020eaa6
tree62475d8e396f81e1d1eef35afa24e7a8aae30c1f
parent7083829c227403a77fcf35a2376dc02e4c9693c8
osdc/Objecter: call notify completion only once

If we race with a reconnect we could get a second notify message
before the notify linger op is torn down.  Ensure we only ever
call the notify completion once to prevent a segfault.

Fixes: #13805
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 987f68a8df292668ad241f4769d82792644454dd)
src/osdc/Objecter.cc