From: Radoslaw Zarzynski Date: Thu, 25 Jul 2019 08:45:20 +0000 (+0200) Subject: osd: make the ClassHandler::mutex private. X-Git-Tag: v15.1.0~1970^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=09918f23da07be23f97ac763626b17ad588ae70d;p=ceph.git osd: make the ClassHandler::mutex private. Signed-off-by: Radoslaw Zarzynski --- diff --git a/src/osd/ClassHandler.h b/src/osd/ClassHandler.h index 46f4cc98319..94950940058 100644 --- a/src/osd/ClassHandler.h +++ b/src/osd/ClassHandler.h @@ -115,9 +115,9 @@ private: static bool in_class_list(const std::string& cname, const std::string& list); -public: ceph::mutex mutex = ceph::make_mutex("ClassHandler"); +public: explicit ClassHandler(CephContext *cct_) : cct(cct_) {} int open_all_classes();