From: John Spray Date: Mon, 13 Jul 2015 09:23:51 +0000 (+0100) Subject: mds: make Server::mds private X-Git-Tag: v9.1.0~406^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=334841379469f1b988b1005e8554059afeb7c45d;p=ceph.git mds: make Server::mds private Signed-off-by: John Spray --- diff --git a/src/mds/Server.h b/src/mds/Server.h index 29fafd56a7a7..c657d6721b15 100644 --- a/src/mds/Server.h +++ b/src/mds/Server.h @@ -44,10 +44,8 @@ enum { }; class Server { -public: - // XXX FIXME: can probably friend enough contexts to make this not need to be public - MDSRank *mds; private: + MDSRank *mds; MDCache *mdcache; MDLog *mdlog; PerfCounters *logger; @@ -59,6 +57,9 @@ private: MDSInternalContext *reconnect_done; int failed_reconnects; + friend class MDSContinuation; + friend class ServerContext; + public: bool terminating_sessions;