]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/librbd/operation/FlattenRequest.cc
update sources to v12.2.3
[ceph.git] / ceph / src / librbd / operation / FlattenRequest.cc
index e01dc2bc67b749658ab7b015169ff02286d06939..78cca8d38dc55024f6ffdd063c6eee378b5587cd 100644 (file)
@@ -41,8 +41,8 @@ public:
 
     bufferlist bl;
     string oid = image_ctx.get_object_name(m_object_no);
-    auto req = new io::ObjectWriteRequest(&image_ctx, oid, m_object_no, 0,
-                                          bl, m_snapc, 0, {}, this);
+    auto req = new io::ObjectWriteRequest<I>(&image_ctx, oid, m_object_no, 0,
+                                             bl, m_snapc, 0, {}, this);
     if (!req->has_parent()) {
       // stop early if the parent went away - it just means
       // another flatten finished first or the image was resized