]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd:rm unnecessary conversion from string to char* in image-meta function 17184/head
authorPCzhangPC <pengcheng.zhang@easystack.cn>
Wed, 23 Aug 2017 10:11:53 +0000 (18:11 +0800)
committerPCzhangPC <pengcheng.zhang@easystack.cn>
Wed, 23 Aug 2017 10:11:53 +0000 (18:11 +0800)
commit192f937affd2a3967881886fabc55092cc04a10e
tree77b2f6c63692222084c3d5e5ba12dcc899506166
parent588e5d03b6c9c5eb1d9b8a2d6ca20980f07c503b
rbd:rm unnecessary conversion from string to char* in image-meta function

the APIs in librbd receive string type as parameter, so there is no need to convert string to char* in image-meta function

Signed-off-by: PCzhangPC <pengcheng.zhang@easystack.cn>
src/tools/rbd/action/ImageMeta.cc