this addresses a warning introduced by
f528475d:
src/tools/rbd/action/Create.cc:59:19: warning: the address of
'ConfigProxy& g_conf()' will never be NULL [-Waddress]
assert(g_conf != nullptr);
~~~~~~~^~~~
Signed-off-by: Kefu Chai <kchai@redhat.com>
{
// If error cases occur, the code is aborted, because
// constructor cannot return error value.
- assert(g_conf != nullptr);
+ assert(g_ceph_context != nullptr);
bl.append_zero(block_size);
librbd::image_info_t info;