From a020e1f060ace144c8069b29e8d8a3307a48efbd 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 23beddedb88ff..214791084164c 100644 --- a/src/librbd/ImageCtx.cc +++ b/src/librbd/ImageCtx.cc @@ -147,7 +147,7 @@ public: } 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