diff options
author | Adam C. Emerson <aemerson@redhat.com> | 2016-12-08 21:34:49 +0100 |
---|---|---|
committer | Adam C. Emerson <aemerson@redhat.com> | 2016-12-22 19:55:37 +0100 |
commit | f002a2fc969168f27fe25fcfcdfd1d8618e7110d (patch) | |
tree | 15b6133c40d23bd5071f63c2ddd781ef7c07d6f7 /src/test/test_trans.cc | |
parent | osd: Remove g_conf and g_ceph_context (diff) | |
download | ceph-f002a2fc969168f27fe25fcfcdfd1d8618e7110d.tar.xz ceph-f002a2fc969168f27fe25fcfcdfd1d8618e7110d.zip |
os: Add CephContext to ObjectStore and ObjectMap bases
Preparatory to removing g_ceph_context and g_conf uses
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Diffstat (limited to 'src/test/test_trans.cc')
-rw-r--r-- | src/test/test_trans.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_trans.cc b/src/test/test_trans.cc index 691b3cb0b79..db297f63db9 100644 --- a/src/test/test_trans.cc +++ b/src/test/test_trans.cc @@ -51,7 +51,7 @@ int main(int argc, const char **argv) cout << "#dev " << filename << std::endl; cout << "#mb " << mb << std::endl; - ObjectStore *fs = new FileStore(filename, NULL); + ObjectStore *fs = new FileStore(cct.get(), filename, NULL); if (fs->mount() < 0) { cout << "mount failed" << std::endl; return -1; |