]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common/perf_counters: Mutex -> ceph::mutex
authorSage Weil <sage@redhat.com>
Tue, 16 Oct 2018 14:32:10 +0000 (09:32 -0500)
committerKefu Chai <kchai@redhat.com>
Wed, 21 Nov 2018 03:56:32 +0000 (11:56 +0800)
Signed-off-by: Sage Weil <sage@redhat.com>
src/common/perf_counters.h

index 8a2f62a3d3fb48ecf88d333325ae93649597157a..de12a793770d844913196e5dca7efb6fd08d8071 100644 (file)
@@ -282,13 +282,11 @@ private:
   int m_lower_bound;
   int m_upper_bound;
   std::string m_name;
-#ifndef WITH_SEASTAR
-  const std::string m_lock_name;
-#endif
 
   int prio_adjust = 0;
 
 #ifndef WITH_SEASTAR
+  const std::string m_lock_name;
   /** Protects m_data */
   ceph::mutex m_lock;
 #endif