]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: fixed issue with deep-copy incorrectly setting parent spec
authorJason Dillaman <dillaman@redhat.com>
Thu, 27 Feb 2020 19:49:11 +0000 (14:49 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 2 Mar 2020 15:53:44 +0000 (10:53 -0500)
commit5cd074be9cee4e359894ae434a7b8e89168a5104
tree7d965ff31cc6afe26ed79368d89c10da260a0b27
parentdf00b073850e7bff01dc88c3d0a8539e3ce89e70
librbd: fixed issue with deep-copy incorrectly setting parent spec

When not syncing the full image, the destination image would receive
the incorrect source parent spec instead of the expected destination
parent spec.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/cls/rbd/cls_rbd_types.cc
src/cls/rbd/cls_rbd_types.h
src/librbd/deep_copy/SnapshotCopyRequest.cc
src/librbd/image/AttachParentRequest.cc