]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc/Objecter: make homeless_session a pointer
authorJohn Spray <john.spray@redhat.com>
Mon, 28 Jul 2014 16:22:59 +0000 (17:22 +0100)
committerJohn Spray <john.spray@redhat.com>
Mon, 25 Aug 2014 00:34:14 +0000 (01:34 +0100)
commit27aed2d216727fe0d45eea1d2f3bb3a713a5f279
tree8941db27846bfbce7d5464186e26db3ef2175f41
parent45b355ea3b23c50ddf135439dc2e191799c22571
osdc/Objecter: make homeless_session a pointer

Have a non-pointer member that's a RefCountedObject
was awkward, e.g. tripping nref==0 assertion during
destruction.  Rather than play games with refcount
during destruction, just make it a new/delete instance
instead.

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