]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_log.cc
update sources to v12.1.2
[ceph.git] / ceph / src / rgw / rgw_log.cc
index 5f7b14d4bec3d9a113894b3dd127c006a50dccb4..7bceab0aa689636031a1eef3f075fad869116a91 100644 (file)
@@ -327,7 +327,7 @@ int rgw_log_op(RGWRados *store, RGWREST* const rest, struct req_state *s,
   }
   rgw_make_bucket_entry_name(s->bucket_tenant, s->bucket_name, entry.bucket);
 
-  if (check_utf8(s->bucket_name.c_str(), entry.bucket.size()) != 0) {
+  if (check_utf8(entry.bucket.c_str(), entry.bucket.size()) != 0) {
     ldout(s->cct, 5) << "not logging op on bucket with non-utf8 name" << dendl;
     return 0;
   }