]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd/object_map: drop bogus if in handle_load_object_map()
authorIlya Dryomov <idryomov@gmail.com>
Wed, 20 Dec 2023 11:22:17 +0000 (12:22 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Sat, 20 Jan 2024 15:06:53 +0000 (16:06 +0100)
commit4e036d65b9146f28a2f6c0dfb353120baea8d62d
tree528c49c98db3ab1efb47676080a3008b72beddbc
parent718f6b5546890179f66d5ffadbae9e9cb0e6c97b
librbd/object_map: drop bogus if in handle_load_object_map()

It became redundant with commit b81cd2460de7 ("librbd/object_map: diff
state machine should track object existence") -- it != end_it condition
in the loop is sufficient.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/librbd/object_map/DiffRequest.cc