]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/librbd/crypto/CryptoObjectDispatch.h
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / librbd / crypto / CryptoObjectDispatch.h
index 1c5a4646d087945bcc6f64f615f1a4da8cb4619e..b72fe194888215e271a9bb075e6ccbdd8e4d4696 100644 (file)
@@ -18,12 +18,12 @@ template <typename ImageCtxT = librbd::ImageCtx>
 class CryptoObjectDispatch : public io::ObjectDispatchInterface {
 public:
   static CryptoObjectDispatch* create(
-          ImageCtxT* image_ctx, ceph::ref_t<CryptoInterface> crypto) {
+          ImageCtxT* image_ctx, CryptoInterface* crypto) {
     return new CryptoObjectDispatch(image_ctx, crypto);
   }
 
   CryptoObjectDispatch(ImageCtxT* image_ctx,
-                       ceph::ref_t<CryptoInterface> crypto);
+                       CryptoInterface* crypto);
 
   io::ObjectDispatchLayer get_dispatch_layer() const override {
     return io::OBJECT_DISPATCH_LAYER_CRYPTO;
@@ -103,8 +103,8 @@ public:
 
 private:
   ImageCtxT* m_image_ctx;
-  ceph::ref_t<CryptoInterface> m_crypto;
-
+  CryptoInterface* m_crypto;
+  uint64_t m_data_offset_object_no;
 };
 
 } // namespace crypto