]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: fix wrong attribute for rbd_quiesce_complete api
authorDongsheng Yang <dongsheng.yang.linux@gmail.com>
Wed, 15 Mar 2023 06:54:39 +0000 (06:54 +0000)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 6 Apr 2023 15:07:33 +0000 (17:07 +0200)
commit53c34c43040bb031a2acee3aee9565d91f540960
treee38a9c9583fa5468958908607ed5ed2f560740a9
parent86e61e7eccda8f1aebb282a6a7d77303ec89f7b9
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>
(cherry picked from commit 51a2b707a3074e000b310fc20901d5038b15ea0c)
src/include/rbd/librbd.h