From 6fa1c3cddd9f29c6135eba9dda603b8b2733ba72 Mon Sep 17 00:00:00 2001 From: Ilya Dryomov Date: Tue, 9 Feb 2021 14:04:39 +0100 Subject: [PATCH] librbd: journal::StandardPolicy template defaults to ImageCtx Signed-off-by: Ilya Dryomov (cherry picked from commit b90ee634fa2aca4d1223ee19f43d026917aa969d) --- src/librbd/ImageCtx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librbd/ImageCtx.cc b/src/librbd/ImageCtx.cc index 08e87c5deea7a..ed836ed8e4e41 100644 --- a/src/librbd/ImageCtx.cc +++ b/src/librbd/ImageCtx.cc @@ -141,7 +141,7 @@ librados::IoCtx duplicate_io_ctx(librados::IoCtx& io_ctx) { } else { exclusive_lock_policy = new exclusive_lock::StandardPolicy(this); } - journal_policy = new journal::StandardPolicy(this); + journal_policy = new journal::StandardPolicy(this); } ImageCtx::ImageCtx(const string &image_name, const string &image_id, -- 2.39.5