}
int flags = CINIT_FLAG_UNPRIVILEGED_DAEMON_DEFAULTS;
- global_pre_init(
- &defaults, args, CEPH_ENTITY_TYPE_CLIENT, CODE_ENVIRONMENT_DAEMON,
- flags);
-
- // Now that we've determined which frontend(s) to use, continue with global
- // initialization. Passing false as the final argument ensures that
- // global_pre_init() is not invoked twice.
- // claim the reference and release it after subsequent destructors have fired
auto cct = global_init(&defaults, args, CEPH_ENTITY_TYPE_CLIENT,
CODE_ENVIRONMENT_DAEMON,
- flags, "rgw_data", false);
+ flags, "rgw_data");
// First, let's determine which frontends are configured.
list<string> frontends;