]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: prevent 'non-primary' feature from being set via API
authorJason Dillaman <dillaman@redhat.com>
Tue, 10 Mar 2020 03:41:26 +0000 (23:41 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 10 Mar 2020 23:23:02 +0000 (19:23 -0400)
commit6a232004554477942b8123e96186378958b9156a
treedc2016145a9a714dc93e12499a209f0ba4e489ab
parent606d86639328253cb75b85b6ea78294a4f00d749
librbd: prevent 'non-primary' feature from being set via API

This feature is mutable from only within librbd as a mirrored image
is promoted/demoted.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/include/rbd/features.h
src/librbd/Features.cc
src/librbd/Operations.cc