mirror of
https://github.com/ceph/ceph
synced 2025-01-15 07:23:16 +00:00
minor fix: pass bucket_info as const ref in bi_list()
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
This commit is contained in:
parent
48cae3f866
commit
40e232ad06
@ -8003,7 +8003,7 @@ int RGWRados::bi_remove(BucketShard& bs)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int RGWRados::bi_list(RGWBucketInfo& bucket_info, int shard_id, const string& filter_obj, const string& marker, uint32_t max, list<rgw_cls_bi_entry> *entries, bool *is_truncated)
|
||||
int RGWRados::bi_list(const RGWBucketInfo& bucket_info, int shard_id, const string& filter_obj, const string& marker, uint32_t max, list<rgw_cls_bi_entry> *entries, bool *is_truncated)
|
||||
{
|
||||
BucketShard bs(this);
|
||||
int ret = bs.init(bucket_info.bucket, shard_id, bucket_info.layout.current_index, nullptr /* no RGWBucketInfo */);
|
||||
|
@ -1411,7 +1411,7 @@ public:
|
||||
void bi_put(librados::ObjectWriteOperation& op, BucketShard& bs, rgw_cls_bi_entry& entry);
|
||||
int bi_put(BucketShard& bs, rgw_cls_bi_entry& entry);
|
||||
int bi_put(rgw_bucket& bucket, rgw_obj& obj, rgw_cls_bi_entry& entry);
|
||||
int bi_list(RGWBucketInfo& bucket_info, int shard_id, const string& filter_obj, const string& marker, uint32_t max, list<rgw_cls_bi_entry> *entries, bool *is_truncated);
|
||||
int bi_list(const RGWBucketInfo& bucket_info, int shard_id, const string& filter_obj, const string& marker, uint32_t max, list<rgw_cls_bi_entry> *entries, bool *is_truncated);
|
||||
int bi_list(BucketShard& bs, const string& filter_obj, const string& marker, uint32_t max, list<rgw_cls_bi_entry> *entries, bool *is_truncated);
|
||||
int bi_list(rgw_bucket& bucket, const string& obj_name, const string& marker, uint32_t max,
|
||||
list<rgw_cls_bi_entry> *entries, bool *is_truncated);
|
||||
|
Loading…
Reference in New Issue
Block a user