From: Karol Mroz Date: Sat, 23 Apr 2016 11:32:45 +0000 (+0200) Subject: ceph-context: add function to set init flags X-Git-Tag: v11.0.0~829^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=aecab14089bcfd33d6a18adabede6a54040460d4;p=ceph.git ceph-context: add function to set init flags Signed-off-by: Karol Mroz --- diff --git a/src/common/ceph_context.cc b/src/common/ceph_context.cc index e873c9f8783..c8dab36dac6 100644 --- a/src/common/ceph_context.cc +++ b/src/common/ceph_context.cc @@ -641,6 +641,11 @@ uint32_t CephContext::get_module_type() const return _module_type; } +void CephContext::set_init_flags(int flags) +{ + _init_flags = flags; +} + int CephContext::get_init_flags() const { return _init_flags; diff --git a/src/common/ceph_context.h b/src/common/ceph_context.h index cdb66f58343..a455a0c8efd 100644 --- a/src/common/ceph_context.h +++ b/src/common/ceph_context.h @@ -84,6 +84,7 @@ public: /* Get the module type (client, mon, osd, mds, etc.) */ uint32_t get_module_type() const; + void set_init_flags(int flags); int get_init_flags() const; /* Get the PerfCountersCollection of this CephContext */