when rgw_beast_enable_async=0, get_bucket_info() crashes on
maybe_warn_about_blocking() when it tries to log to a null
DoutPrefixProvider
Signed-off-by: Casey Bodley <cbodley@redhat.com>
if (ret == -EEXIST) {
/* we need to reread the info and return it, caller will have a use for it */
RGWBucketInfo orig_info;
- int r = get_bucket_info(&svc, bucket.tenant, bucket.name, orig_info, NULL, y, NULL);
+ int r = get_bucket_info(&svc, bucket.tenant, bucket.name, orig_info, NULL, y, dpp);
if (r < 0) {
if (r == -ENOENT) {
continue;