librbd: drop MirrorNonPrimarySnapshotNamespace
authorJason Dillaman <dillaman@redhat.com>
Fri, 7 Feb 2020 02:14:41 +0000 (21:14 -0500)
committerJason Dillaman <dillaman@redhat.com>
Wed, 19 Feb 2020 15:36:40 +0000 (10:36 -0500)
commit77d8af350d36b84dabe089cc0e58cd6179badd1f
treea31d69f8236dab0a27b4fa3bac1ea589f3291922
parent675bd4b410f1879f430ed36807c6a387fe92c542
librbd: drop MirrorNonPrimarySnapshotNamespace

The required fields (and state enum) have already been added to the
MirrorSnapshotNamespace. This drops the namespace and tweaks existing
code to use it.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
16 files changed:
src/cls/rbd/cls_rbd.cc
src/cls/rbd/cls_rbd_client.cc
src/cls/rbd/cls_rbd_client.h
src/cls/rbd/cls_rbd_types.cc
src/cls/rbd/cls_rbd_types.h
src/librbd/api/Snapshot.cc
src/librbd/image/PreRemoveRequest.cc
src/librbd/mirror/DisableRequest.cc
src/librbd/mirror/GetInfoRequest.cc
src/librbd/mirror/snapshot/CreateNonPrimaryRequest.cc
src/librbd/mirror/snapshot/CreatePrimaryRequest.cc
src/librbd/mirror/snapshot/SetImageStateRequest.cc
src/librbd/mirror/snapshot/Utils.cc
src/librbd/operation/SnapshotRemoveRequest.cc
src/test/cls_rbd/test_cls_rbd.cc
src/test/librbd/mirror/snapshot/test_mock_Utils.cc