]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librados: do not expose non-public symbols 13265/head
authorKefu Chai <kchai@redhat.com>
Sun, 5 Feb 2017 15:24:49 +0000 (23:24 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 5 Feb 2017 15:33:53 +0000 (23:33 +0800)
commit506df1f7837130cd01bdb3c6b2bebcf90401a9dd
treed795642761a71c89f3310b9d9d1ae4f42d360b59
parent21cdcfcc660fc39e272d1bbdf9f367f6d5d17e4d
librados: do not expose non-public symbols

librados could be referencing the wrong symbol when calling the
destructor. for example, a variable of type AioGetxattrsData in
IoCtxImpl.cc) could be destructed using the destructor defined in
librados.cc. this is reproduciable using

ceph_test_rados_api_aio --gtest_filter=LibRadosAio.XattrIter

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/librados/IoCtxImpl.cc
src/librados/librados.cc