Skip to content

Commit c0c8b99

Browse files
committed
rgw/rados: create_bucket() passes non-null dpp to get_bucket_info()
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 <[email protected]>
1 parent 747557d commit c0c8b99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rgw/driver/rados/rgw_rados.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2463,7 +2463,7 @@ int RGWRados::create_bucket(const DoutPrefixProvider* dpp,
24632463
if (ret == -EEXIST) {
24642464
/* we need to reread the info and return it, caller will have a use for it */
24652465
RGWBucketInfo orig_info;
2466-
int r = get_bucket_info(&svc, bucket.tenant, bucket.name, orig_info, NULL, y, NULL);
2466+
int r = get_bucket_info(&svc, bucket.tenant, bucket.name, orig_info, NULL, y, dpp);
24672467
if (r < 0) {
24682468
if (r == -ENOENT) {
24692469
continue;

0 commit comments

Comments
 (0)