]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: fix wrong attribute for rbd_quiesce_complete api 50735/head
authorDongsheng Yang <dongsheng.yang.linux@gmail.com>
Wed, 15 Mar 2023 06:54:39 +0000 (06:54 +0000)
committerDongsheng Yang <dongsheng.yang@easystack.cn>
Wed, 29 Mar 2023 11:49:55 +0000 (11:49 +0000)
commit51a2b707a3074e000b310fc20901d5038b15ea0c
tree807e5fa9185668bbac2f51e8a2cd5c8003d4ed7c
parent313921afcf9e8cbe43292ba9330aef226aade634
librbd: fix wrong attribute for rbd_quiesce_complete api

When we use rbd_quiesce_complete api, we got an error:
/usr/bin/ld: undefined reference to `rbd_quiesce_complete'

Then we found the problem is the symbol of rbd_quiesce_complete
in librbd.so is LOCAL. After some investigation, we found
the attribute of rbd_quiesce_complete api is CEPH_RADOS_API
rather than expected CEPH_RBD_API.

Fixes: https://tracker.ceph.com/issues/59208
Signed-off-by: Dongsheng Yang <dongsheng.yang.linux@gmail.com>
src/include/rbd/librbd.h