From: Kefu Chai Date: Wed, 31 Aug 2016 05:11:24 +0000 (+0800) Subject: mon/AuthMonitor: make AuthMonitor::IncType public X-Git-Tag: v11.0.1~214^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=19ef4f16b3aba04119ac647cd6261c74a57ce829;p=ceph.git mon/AuthMonitor: make AuthMonitor::IncType public so ceph-objectstore-tool is able to use it when rebuilding monitor db. Fixes: http://tracker.ceph.com/issues/17179 Signed-off-by: Kefu Chai --- diff --git a/src/mon/AuthMonitor.h b/src/mon/AuthMonitor.h index f40b5dc46802..6a579f992ca9 100644 --- a/src/mon/AuthMonitor.h +++ b/src/mon/AuthMonitor.h @@ -34,11 +34,11 @@ class Monitor; #define MIN_GLOBAL_ID 0x1000 class AuthMonitor : public PaxosService { +public: enum IncType { GLOBAL_ID, AUTH_DATA, }; -public: struct Incremental { IncType inc_type; uint64_t max_global_id;