]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: assert on m_length in calc_object_diff_range()
authorIlya Dryomov <idryomov@gmail.com>
Tue, 11 Jun 2024 14:03:22 +0000 (16:03 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Sun, 23 Jun 2024 10:37:14 +0000 (12:37 +0200)
commit27237406166622358fa7034d3e80a6946491b15d
tree1c039e24d4c0ae0f5b3d827da207951c1fe4117f
parent12db92636bffe3e11ee07f5cc48e383f0a3a34e2
librbd: assert on m_length in calc_object_diff_range()

A non-empty byte range is required by both last_period_off calculation
and Striper::file_to_extents().

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 6b5f0088d799a72a840fae685b44b0f31eee6be8)
src/librbd/api/DiffIterate.cc