]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: remove util.cc from lib{rados,cephfs},ceph-objectstore-tool
authorKefu Chai <kchai@redhat.com>
Tue, 19 Jul 2016 06:24:45 +0000 (14:24 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 19 Jul 2016 14:25:36 +0000 (22:25 +0800)
commit3173d2ea12a1454302877a6563e75f499e24c5ee
tree691b3f3bdc88905a278ec7444d4ad39ef401d405
parent741f99073c6af9397ed5f824e41b85dcd580a6fd
cmake: remove util.cc from lib{rados,cephfs},ceph-objectstore-tool

util.cc is included by both librados and libcephfs, the `lvm` static
variable in `lsb_release_parse()` will be free twice by them. this
could lead to double free issue. and util.cc is not used by client at all, so
remove it from them.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/CMakeLists.txt
src/librados/CMakeLists.txt
src/tools/CMakeLists.txt