]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cls/rbd: fix mirror_image_map_list object 60946/head
authorN Balachandran <nibalach@redhat.com>
Wed, 4 Dec 2024 11:40:13 +0000 (17:10 +0530)
committerN Balachandran <nibalach@redhat.com>
Wed, 4 Dec 2024 11:45:06 +0000 (17:15 +0530)
commitcd1b41de75c52a00b94b005b656dfd7acf1934ea
treec27c2e11c7df0d364023d588712bf43def57eb97
parentc609ce50349ebf08a1e2bce528cca938de7d68e1
cls/rbd: fix mirror_image_map_list object

The rbd-mirror image map is stored in the rbd_mirror_leader object.
Fixed mirror_image_map_list() to operate on the correct object.

Fixes: https://tracker.ceph.com/issues/69112
Signed-off-by: N Balachandran <nibalach@redhat.com>
src/cls/rbd/cls_rbd_client.cc
src/test/cls_rbd/test_cls_rbd.cc