summaryrefslogtreecommitdiffstats
path: root/src/rgw/driver/rados/rgw_rados.h
diff options
context:
space:
mode:
authorCasey Bodley <cbodley@redhat.com>2023-03-18 15:41:12 +0100
committerCasey Bodley <cbodley@redhat.com>2023-11-06 17:07:23 +0100
commit1b4e09eed15dab29e9b220747b7f976f85f0f6b2 (patch)
tree908329217ac54063f8920919434cbf56b571d54e /src/rgw/driver/rados/rgw_rados.h
parentrgw: remove legacy bucket placement and 'radosgw-admin pool' commands (diff)
downloadceph-1b4e09eed15dab29e9b220747b7f976f85f0f6b2.tar.xz
ceph-1b4e09eed15dab29e9b220747b7f976f85f0f6b2.zip
rgw/services: make set_attrs const correct
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/rgw/driver/rados/rgw_rados.h')
-rw-r--r--src/rgw/driver/rados/rgw_rados.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rgw/driver/rados/rgw_rados.h b/src/rgw/driver/rados/rgw_rados.h
index 1727bd84758..18e818c4e89 100644
--- a/src/rgw/driver/rados/rgw_rados.h
+++ b/src/rgw/driver/rados/rgw_rados.h
@@ -1395,7 +1395,7 @@ public:
std::map<RGWObjCategory, RGWStorageStats>& stats, std::string *max_marker, bool* syncstopped = NULL);
int get_bucket_stats_async(const DoutPrefixProvider *dpp, RGWBucketInfo& bucket_info, const rgw::bucket_index_layout_generation& idx_layout, int shard_id, RGWGetBucketStats_CB *cb);
- int put_bucket_instance_info(RGWBucketInfo& info, bool exclusive, ceph::real_time mtime, std::map<std::string, bufferlist> *pattrs, const DoutPrefixProvider *dpp, optional_yield y);
+ int put_bucket_instance_info(RGWBucketInfo& info, bool exclusive, ceph::real_time mtime, const std::map<std::string, bufferlist> *pattrs, const DoutPrefixProvider *dpp, optional_yield y);
/* xxx dang obj_ctx -> svc */
int get_bucket_instance_info(const std::string& meta_key, RGWBucketInfo& info, ceph::real_time *pmtime, std::map<std::string, bufferlist> *pattrs, optional_yield y, const DoutPrefixProvider *dpp);
int get_bucket_instance_info(const rgw_bucket& bucket, RGWBucketInfo& info, ceph::real_time *pmtime, std::map<std::string, bufferlist> *pattrs, optional_yield y, const DoutPrefixProvider *dpp);
@@ -1420,7 +1420,7 @@ public:
std::map<std::string, bufferlist> *pattrs = nullptr);
int put_linked_bucket_info(RGWBucketInfo& info, bool exclusive, ceph::real_time mtime, obj_version *pep_objv,
- std::map<std::string, bufferlist> *pattrs, bool create_entry_point,
+ const std::map<std::string, bufferlist> *pattrs, bool create_entry_point,
const DoutPrefixProvider *dpp, optional_yield y);
int cls_obj_prepare_op(const DoutPrefixProvider *dpp, BucketShard& bs, RGWModifyOp op, std::string& tag, rgw_obj& obj, uint16_t bilog_flags, optional_yield y, rgw_zone_set *zones_trace = nullptr);