]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: enforce caps when creating/deleting unmanaged snapshots
authorJason Dillaman <dillaman@redhat.com>
Tue, 5 Jun 2018 17:24:48 +0000 (13:24 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 26 Jun 2018 16:03:30 +0000 (12:03 -0400)
commit3dfb23d036c068ec5166151ed63628738d68908a
tree834760ef7dd48594325275cdb49daa33406c6513
parent7cda9121a9348ea7a37c78ca14b3c5bdfdaca041
mon/OSDMonitor: enforce caps when creating/deleting unmanaged snapshots

The entity will require write access to the OSD service or permission
for the synthetic "osd pool op unmanaged-snap" command.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 4972e054b32c8200600f27564d50d443e683153e)

Conflicts:
src/mon/OSDMonitor.cc: use 'bufferlist::begin' instead of 'bufferlist::cbegin'
src/mon/OSDMonitor.cc
src/mon/OSDMonitor.h