diff options
Diffstat (limited to 'src/rgw/rgw_common.h')
-rw-r--r-- | src/rgw/rgw_common.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rgw/rgw_common.h b/src/rgw/rgw_common.h index d41aa616136..ca2334d62ed 100644 --- a/src/rgw/rgw_common.h +++ b/src/rgw/rgw_common.h @@ -45,6 +45,8 @@ namespace ceph { namespace rgw::sal { class RGWUser; + class RGWBucket; + class RGWObject; } using ceph::crypto::MD5; @@ -1618,11 +1620,11 @@ struct req_state : DoutPrefixProvider { string bucket_tenant; string bucket_name; - rgw_bucket bucket; - rgw_obj_key object; + std::unique_ptr<rgw::sal::RGWBucket> bucket; + std::unique_ptr<rgw::sal::RGWObject> object; string src_tenant_name; string src_bucket_name; - rgw_obj_key src_object; + std::unique_ptr<rgw::sal::RGWObject> src_object; ACLOwner bucket_owner; ACLOwner owner; @@ -1634,8 +1636,6 @@ struct req_state : DoutPrefixProvider { string redirect; - RGWBucketInfo bucket_info; - obj_version bucket_ep_objv; real_time bucket_mtime; std::map<std::string, ceph::bufferlist> bucket_attrs; bool bucket_exists{false}; @@ -1643,7 +1643,7 @@ struct req_state : DoutPrefixProvider { bool has_bad_meta{false}; - rgw::sal::RGWUser *user; + rgw::sal::RGWUser* user{nullptr}; struct { /* TODO(rzarzynski): switch out to the static_ptr for both members. */ |