From b90ee634fa2aca4d1223ee19f43d026917aa969d 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 --- 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 bc0f065b024..e6891d28134 100644 --- a/src/librbd/ImageCtx.cc +++ b/src/librbd/ImageCtx.cc @@ -142,7 +142,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