From e7d9c15871efcd17b9b1064a5ee49edfe4a159e9 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 31 Aug 2016 13:11:24 +0800 Subject: [PATCH] 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 (cherry picked from commit 19ef4f16b3aba04119ac647cd6261c74a57ce829) --- src/mon/AuthMonitor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mon/AuthMonitor.h b/src/mon/AuthMonitor.h index d66de24985f3c..e9f4636bc5560 100644 --- a/src/mon/AuthMonitor.h +++ b/src/mon/AuthMonitor.h @@ -35,11 +35,11 @@ class KeyRing; #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; -- 2.39.5