]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/librbd/api/Mirror.cc
update sources to v12.1.2
[ceph.git] / ceph / src / librbd / api / Mirror.cc
index 7f42474623472dc54e2c08bf822591afeee2e325..8661e7a73a35de219e61f51ce58c6744111d56e3 100644 (file)
@@ -798,7 +798,7 @@ int Mirror<I>::image_status_list(librados::IoCtx& io_ctx,
 
   r = librbd::cls_client::mirror_image_status_list(&io_ctx, start_id, max,
                                                   &images_, &statuses_);
-  if (r < 0) {
+  if (r < 0 && r != -ENOENT) {
     lderr(cct) << "failed to list mirror image statuses: "
                << cpp_strerror(r) << dendl;
     return r;