]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: journal::StandardPolicy template defaults to ImageCtx 39966/head
authorIlya Dryomov <idryomov@gmail.com>
Tue, 9 Feb 2021 13:04:39 +0000 (14:04 +0100)
committerJason Dillaman <dillaman@redhat.com>
Tue, 9 Mar 2021 21:50:14 +0000 (16:50 -0500)
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit b90ee634fa2aca4d1223ee19f43d026917aa969d)

src/librbd/ImageCtx.cc

index 23beddedb88ff4b272166ddc1abc087e5643604f..214791084164c4784a53c8fe58d1cf9d32044c74 100644 (file)
@@ -147,7 +147,7 @@ public:
     } else {
       exclusive_lock_policy = new exclusive_lock::StandardPolicy(this);
     }
-    journal_policy = new journal::StandardPolicy<ImageCtx>(this);
+    journal_policy = new journal::StandardPolicy(this);
   }
 
   ImageCtx::ImageCtx(const string &image_name, const string &image_id,