From: Ilya Dryomov Date: Tue, 9 Feb 2021 13:04:39 +0000 (+0100) Subject: librbd: journal::StandardPolicy template defaults to ImageCtx X-Git-Tag: v15.2.13~2^2~10^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F39966%2Fhead;p=ceph.git librbd: journal::StandardPolicy template defaults to ImageCtx Signed-off-by: Ilya Dryomov (cherry picked from commit b90ee634fa2aca4d1223ee19f43d026917aa969d) --- diff --git a/src/librbd/ImageCtx.cc b/src/librbd/ImageCtx.cc index 23beddedb88..21479108416 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,