]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crush/CrushLocation.cc: specialize namespace TOPNSPC to ceph
authorluo rixin <luorixin@huawei.com>
Wed, 10 May 2023 11:33:59 +0000 (19:33 +0800)
committerluo rixin <luorixin@huawei.com>
Tue, 30 May 2023 02:14:58 +0000 (10:14 +0800)
remove namespace crimson::crush to a separate file, and remain
namespace ceph::crush here.

Signed-off-by: luo rixin <luorixin@huawei.com>
(cherry picked from commit a25ec553e5d9b2c5fe9ef4d05b8dad4d5096da59)

src/crush/CrushLocation.cc
src/crush/CrushLocation.h

index 12a62064f1d2d74918e4bdc31a374b2a009f59ef..834e7b869c635af29ff6b8e02adcf02e63856d8b 100644 (file)
@@ -16,7 +16,7 @@
 #include "include/compat.h"
 #include "include/str_list.h"
 
-namespace TOPNSPC::crush {
+namespace ceph::crush {
 
 int CrushLocation::update_from_conf()
 {
index 026ad107d833a913341e6a5131d485ec1212397c..189d4f7882b16c690e5451a58c213221936502de 100644 (file)
@@ -14,7 +14,7 @@
 #include "common/ceph_mutex.h"
 #include "include/common_fwd.h"
 
-namespace TOPNSPC::crush {
+namespace ceph::crush {
 
 class CrushLocation {
 public:
@@ -39,7 +39,7 @@ std::ostream& operator<<(std::ostream& os, const CrushLocation& loc);
 }
 
 #if FMT_VERSION >= 90000
-template <> struct fmt::formatter<TOPNSPC::crush::CrushLocation> : fmt::ostream_formatter {};
+template <> struct fmt::formatter<ceph::crush::CrushLocation> : fmt::ostream_formatter {};
 #endif
 
 #endif