ceph/src/libradosstriper
Kefu Chai c8fe1782a6 cmake: move librados.cc out of libradosstriper
NObjectIterator::__EndObjectIterator is a static member variable
whose destructor deletes a pointer. librados.cc is the source file that
defines __EndObjectIterator. before this change rados cli is linked
against libradosstriper and librados. both of them include librados.cc.
that's why the dtor is called twice, hence double free when the dso
is closed and the static variables are destructed. in this change,
the librados.cc is moved out of libradosstriper, RadosClient.cc,
RadosXattrIter.cc and IoCtxImpl.cc kept as the OBJECT library, as
libradostriper is accessing the non-public symbols defined by them.

Fixes: http://tracker.ceph.com/issues/16504
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-06-29 22:26:25 +08:00
..
CMakeLists.txt cmake: move librados.cc out of libradosstriper 2016-06-29 22:26:25 +08:00
libradosstriper.cc
Makefile.am
MultiAioCompletionImpl.cc
MultiAioCompletionImpl.h
RadosStriperImpl.cc struct ceph_file_layout -> file_layout_t 2016-03-01 11:18:16 -05:00
RadosStriperImpl.h