summaryrefslogtreecommitdiffstats
path: root/src/cls/rbd/cls_rbd_client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cls/rbd/cls_rbd_client.cc')
-rw-r--r--src/cls/rbd/cls_rbd_client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cls/rbd/cls_rbd_client.cc b/src/cls/rbd/cls_rbd_client.cc
index 559ac221f89..fca2d0ea18b 100644
--- a/src/cls/rbd/cls_rbd_client.cc
+++ b/src/cls/rbd/cls_rbd_client.cc
@@ -2538,7 +2538,7 @@ int mirror_image_map_list(
mirror_image_map_list_start(&op, start_after, max_read);
bufferlist out_bl;
- int r = ioctx->operate(RBD_MIRRORING, &op, &out_bl);
+ int r = ioctx->operate(RBD_MIRROR_LEADER, &op, &out_bl);
if (r < 0) {
return r;
}