summaryrefslogtreecommitdiffstats
path: root/src/librbd/plugin/ParentCache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/librbd/plugin/ParentCache.h')
-rw-r--r--src/librbd/plugin/ParentCache.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/librbd/plugin/ParentCache.h b/src/librbd/plugin/ParentCache.h
index e456c5ac3d8..1039efff9ae 100644
--- a/src/librbd/plugin/ParentCache.h
+++ b/src/librbd/plugin/ParentCache.h
@@ -19,13 +19,14 @@ public:
ParentCache(CephContext* cct) : Interface<ImageCtxT>(cct) {
}
- void init(ImageCtxT* image_ctx, Api<ImageCtxT>& api, HookPoints* hook_points,
+ void init(ImageCtxT* image_ctx, Api<ImageCtxT>& api,
+ cache::ImageWritebackInterface& image_writeback,
+ PluginHookPoints& hook_points_list,
Context* on_finish) override;
private:
- ImageCtxT* m_image_ctx = nullptr;
-
void handle_init_parent_cache(int r, Context* on_finish);
+ using ceph::Plugin::cct;
};