]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: put meta_coll const in OSD.{cc,h}
authorSage Weil <sage@newdream.net>
Wed, 23 Dec 2009 01:50:33 +0000 (17:50 -0800)
committerSage Weil <sage@newdream.net>
Wed, 23 Dec 2009 16:52:18 +0000 (08:52 -0800)
src/osd/OSD.cc
src/osd/OSD.h
src/osd/osd_types.h

index c28c63804bfd379cfb1870c8cb035e89b1b97352..8236fb0e197751f6dba007e1a5e80f2740e7193d 100644 (file)
@@ -104,6 +104,9 @@ static ostream& _prefix(ostream& out, int whoami, OSDMap *osdmap) {
 }
 
 
+const coll_t meta_coll;
+
+
 ObjectStore *OSD::create_object_store(const char *dev, const char *jdev)
 {
   struct stat st;
index 93a9942ec4a46a57162189b9d0cd36c186176dbd..8ed3fb39953ad3c7c079289feadb27e0c33faebe 100644 (file)
@@ -92,6 +92,7 @@ class OSDMap;
 class MLog;
 class MClass;
 
+extern const coll_t meta_coll;
 
 class OSD : public Dispatcher {
   /** OSD **/
index 9dbb4d984efe7f4841036dc3374a7166f848352e..3b920ffc65361102b8d960d28a020b85960497e4 100644 (file)
@@ -309,9 +309,6 @@ namespace __gnu_cxx {
 }
 
 
-const coll_t meta_coll;
-
-
 
 inline ostream& operator<<(ostream& out, const ceph_object_layout &ol)
 {