diff options
author | J. Eric Ivancich <ivancich@redhat.com> | 2019-06-25 21:21:44 +0200 |
---|---|---|
committer | J. Eric Ivancich <ivancich@redhat.com> | 2019-06-25 22:54:58 +0200 |
commit | fb862909202c12c4bd908a0efe140c0f0ef0bd5a (patch) | |
tree | bf0e47804088f027e53688d418e7bd2eff4f0e9b /src/rgw/rgw_multi.h | |
parent | rgw: allow multipart upload abort to proceed (diff) | |
download | ceph-fb862909202c12c4bd908a0efe140c0f0ef0bd5a.tar.xz ceph-fb862909202c12c4bd908a0efe140c0f0ef0bd5a.zip |
rgw: minor code clean-up
Adding some const correctness and reformatting.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
Diffstat (limited to 'src/rgw/rgw_multi.h')
-rw-r--r-- | src/rgw/rgw_multi.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/rgw/rgw_multi.h b/src/rgw/rgw_multi.h index 4cb553d0236..8c68288831e 100644 --- a/src/rgw/rgw_multi.h +++ b/src/rgw/rgw_multi.h @@ -102,9 +102,12 @@ extern int abort_multipart_upload(RGWRados *store, CephContext *cct, RGWObjectCt RGWBucketInfo& bucket_info, RGWMPObj& mp_obj); extern int list_bucket_multiparts(RGWRados *store, RGWBucketInfo& bucket_info, - string& prefix, string& marker, string& delim, - int& max_uploads, vector<rgw_bucket_dir_entry> *objs, - map<string, bool> *common_prefixes, bool *is_truncated); + const string& prefix, + const string& marker, + const string& delim, + const int& max_uploads, + vector<rgw_bucket_dir_entry> *objs, + map<string, bool> *common_prefixes, bool *is_truncated); extern int abort_bucket_multiparts(RGWRados *store, CephContext *cct, RGWBucketInfo& bucket_info, string& prefix, string& delim); |