Skip to content

Commit

Permalink
Merge pull request #12245 from ifed01/wip-fix-global-init-refcount
Browse files Browse the repository at this point in the history
test/fio: fix global CephContext life cycle

Reviewed-by: Casey Bodley <cbodley@redhat.com>
  • Loading branch information
cbodley committed Dec 2, 2016
2 parents bbd97ce + 212294a commit 0a60d35
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 0a60d35

Please sign in to comment.