]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix iterate_slo_parts() and improve its declaration's formatting.
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>
Mon, 9 Nov 2015 16:15:25 +0000 (17:15 +0100)
committerRadoslaw Zarzynski <rzarzynski@mirantis.com>
Tue, 8 Dec 2015 16:58:08 +0000 (17:58 +0100)
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
src/rgw/rgw_op.cc

index 93e7a63c888d128914c5b6dd529fde149f3392de..19608a3ab7c7985d13d2dd70f42d75a0d51a492b 100644 (file)
@@ -823,10 +823,18 @@ struct rgw_slo_part {
   rgw_slo_part() : bucket_policy(NULL), size(0) {}
 };
 
-static int iterate_slo_parts(CephContext *cct, RGWRados *store, off_t ofs, off_t end,
-                                       map<uint64_t, rgw_slo_part>& slo_parts,
-                                       int (*cb)(rgw_bucket& bucket, RGWObjEnt& ent, RGWAccessControlPolicy *bucket_policy,
-                                                 off_t start_ofs, off_t end_ofs, void *param), void *cb_param)
+static int iterate_slo_parts(CephContext *cct,
+                             RGWRados *store,
+                             off_t ofs,
+                             off_t end,
+                             map<uint64_t, rgw_slo_part>& slo_parts,
+                             int (*cb)(rgw_bucket& bucket,
+                                       const RGWObjEnt& ent,
+                                       RGWAccessControlPolicy *bucket_policy,
+                                       off_t start_ofs,
+                                       off_t end_ofs,
+                                       void *param),
+                             void *cb_param)
 {
   uint64_t obj_ofs = 0, len_count = 0;
   bool found_start = false, found_end = false;