Skip to content

Commit

Permalink
test/fio: fix improper scope for a var holding global CephContext
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
  • Loading branch information
Igor Fedotov committed Nov 30, 2016
1 parent c139e9b commit f6ea4d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/fio/fio_ceph_objectstore.cc
Expand Up @@ -103,7 +103,7 @@ Engine::Engine(const thread_data* td) : ref_count(0)
}

// claim the g_ceph_context reference and release it on destruction
auto cct = global_init(nullptr, args, CEPH_ENTITY_TYPE_OSD,
cct = global_init(nullptr, args, CEPH_ENTITY_TYPE_OSD,
CODE_ENVIRONMENT_UTILITY, 0);
common_init_finish(g_ceph_context);

Expand Down

0 comments on commit f6ea4d5

Please sign in to comment.