diff options
Diffstat (limited to 'src/librbd/deep_copy/ImageCopyRequest.cc')
-rw-r--r-- | src/librbd/deep_copy/ImageCopyRequest.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/librbd/deep_copy/ImageCopyRequest.cc b/src/librbd/deep_copy/ImageCopyRequest.cc index 08e959dd5..668808340 100644 --- a/src/librbd/deep_copy/ImageCopyRequest.cc +++ b/src/librbd/deep_copy/ImageCopyRequest.cc @@ -101,9 +101,10 @@ void ImageCopyRequest<I>::compute_diff() { auto ctx = create_context_callback< ImageCopyRequest<I>, &ImageCopyRequest<I>::handle_compute_diff>(this); - auto req = object_map::DiffRequest<I>::create(m_src_image_ctx, m_src_snap_id_start, - m_src_snap_id_end, &m_object_diff_state, - ctx); + auto req = object_map::DiffRequest<I>::create(m_src_image_ctx, + m_src_snap_id_start, + m_src_snap_id_end, 0, UINT64_MAX, + &m_object_diff_state, ctx); req->send(); } |