]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librados: update Objecter shutdown
authorJohn Spray <john.spray@redhat.com>
Wed, 13 Aug 2014 01:19:22 +0000 (02:19 +0100)
committerJohn Spray <john.spray@redhat.com>
Mon, 25 Aug 2014 00:34:18 +0000 (01:34 +0100)
commit545baf858256db1b6e4064c82ab4c39841e135c4
tree3a822bcd055916ada7e737f8b136ac3d104c2939
parent28e5c03daef21dab927747bf411f9a449ed27207
librados: update Objecter shutdown

Previously checking for CONNECTED was equivalent to
checking the objecter had been initialized, but since
the separation between init() and start() that is
no longer the case.  Avoid the need to be smart by
just readint Objecter::initialized to learn whether
to call Objecter::shutdown

Fixes: #9067
Signed-off-by: John Spray <john.spray@redhat.com>
src/librados/RadosClient.cc