mirror of
https://github.com/ceph/ceph
synced 2025-01-10 21:20:46 +00:00
librbd: journal::StandardPolicy template defaults to ImageCtx
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
parent
b1bf3eaef2
commit
b90ee634fa
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user