From ec815bb93404a6234344b75491923fa885bdc8ce Mon Sep 17 00:00:00 2001 From: "Adam C. Emerson" Date: Wed, 7 Dec 2016 18:32:54 -0500 Subject: [PATCH] os: Continuing the removal of g_ceph_context and g_conf Signed-off-by: Adam C. Emerson --- src/os/ObjectStore.cc | 2 +- src/os/kstore/KStore.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/os/ObjectStore.cc b/src/os/ObjectStore.cc index ee05f6b1f8e84..0c2381fc0ebc5 100644 --- a/src/os/ObjectStore.cc +++ b/src/os/ObjectStore.cc @@ -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); diff --git a/src/os/kstore/KStore.cc b/src/os/kstore/KStore.cc index 6416ee36ab161..5152212921208 100755 --- a/src/os/kstore/KStore.cc +++ b/src/os/kstore/KStore.cc @@ -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(); } -- 2.39.5