]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cls/rbd: don't clear CLONE_CHILD op feature if still a child
authorJason Dillaman <dillaman@redhat.com>
Mon, 12 Feb 2018 20:01:28 +0000 (15:01 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 13 Feb 2018 14:14:16 +0000 (09:14 -0500)
commite57a735bfeac42038266b7fe8a29c0cce75b7941
tree8b31b6c378c0259c09b09cdbba63d4a29e2856a1
parent13738cd7522a6eea8038660ba7120ca89f34eacb
cls/rbd: don't clear CLONE_CHILD op feature if still a child

After removing the last snapshot linked to a parent image,
don't clear the CLONE_CHILD op feature bit if the image HEAD
is still linked to the parent.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/cls/rbd/cls_rbd.cc