librbd: journal::StandardPolicy template defaults to ImageCtx

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
Ilya Dryomov 2021-02-09 14:04:39 +01:00
parent b1bf3eaef2
commit b90ee634fa

View File

@ -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<ImageCtx>(this);
journal_policy = new journal::StandardPolicy(this);
}
ImageCtx::ImageCtx(const string &image_name, const string &image_id,