]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/librbd/mirror/snapshot/DemoteRequest.cc
import 15.2.2 octopus source
[ceph.git] / ceph / src / librbd / mirror / snapshot / DemoteRequest.cc
index 23cbd1d479766f4e455dd63f7601decad275d9be..17d157d41e17e4ada8709e6b5ef85cf4acb30a71 100644 (file)
@@ -72,7 +72,7 @@ void DemoteRequest<I>::create_snapshot() {
     DemoteRequest<I>, &DemoteRequest<I>::handle_create_snapshot>(this);
 
   auto req = CreatePrimaryRequest<I>::create(
-    m_image_ctx, m_global_image_id,
+    m_image_ctx, m_global_image_id, CEPH_NOSNAP,
     (snapshot::CREATE_PRIMARY_FLAG_IGNORE_EMPTY_PEERS |
      snapshot::CREATE_PRIMARY_FLAG_DEMOTED), nullptr, ctx);
   req->send();