]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os: Continuing the removal of g_ceph_context and g_conf
authorAdam C. Emerson <aemerson@redhat.com>
Wed, 7 Dec 2016 23:32:54 +0000 (18:32 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Thu, 22 Dec 2016 19:24:39 +0000 (14:24 -0500)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/os/ObjectStore.cc
src/os/kstore/KStore.cc

index ee05f6b1f8e84a31175e79de9bc2af48a5063aac..0c2381fc0ebc59d32d50f0dd988666d17c886eb0 100644 (file)
@@ -64,7 +64,7 @@ ObjectStore *ObjectStore::create(CephContext *cct,
                                 const string& type,
                                 const string& data,
                                 const string& journal,
-                                osflagbits_t flags)
+                                osflagbits_t flags)
 {
   if (type == "filestore") {
     return new FileStore(cct, data, journal, flags);
index 6416ee36ab161acc412451f6b743d0e32a3d90f1..51522129212084c61f3bc1c5505a9f75d507983f 100755 (executable)
@@ -638,7 +638,7 @@ KStore::KStore(CephContext *cct, const string& path)
     finisher(cct),
     kv_sync_thread(this),
     kv_stop(false),
-    logger(NULL)
+    logger(nullptr)
 {
   _init_logger();
 }