]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix warning
authorYehuda Sadeh <yehuda@inktank.com>
Tue, 13 Nov 2012 23:42:52 +0000 (15:42 -0800)
committerYehuda Sadeh <yehuda@inktank.com>
Tue, 13 Nov 2012 23:43:48 +0000 (15:43 -0800)
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_op.cc

index 3f550c2a9784bf6f9225bf3ceaaca082b9a607bc..5da22d2ad7f7f4f6e8baef0bd95f34cc6d775cb6 100644 (file)
@@ -963,7 +963,7 @@ class RGWPutObjProcessor_Aio : public RGWPutObjProcessor
 protected:
   uint64_t obj_len;
 
-  int handle_data(rgw_obj& obj, bufferlist& bl, off_t ofs, off_t abs_ofs, void **phandle);
+  int handle_obj_data(rgw_obj& obj, bufferlist& bl, off_t ofs, off_t abs_ofs, void **phandle);
   int throttle_data(void *handle);
 
   RGWPutObjProcessor_Aio() : max_chunks(RGW_MAX_PENDING_CHUNKS), obj_len(0) {}
@@ -972,7 +972,7 @@ protected:
   }
 };
 
-int RGWPutObjProcessor_Aio::handle_data(rgw_obj& obj, bufferlist& bl, off_t ofs, off_t abs_ofs, void **phandle)
+int RGWPutObjProcessor_Aio::handle_obj_data(rgw_obj& obj, bufferlist& bl, off_t ofs, off_t abs_ofs, void **phandle)
 {
   if ((uint64_t)abs_ofs + bl.length() > obj_len)
     obj_len = abs_ofs + bl.length();
@@ -1086,7 +1086,7 @@ public:
     }
     if (ofs >= next_part_ofs)
       prepare_next_part(ofs);
-    int r = RGWPutObjProcessor_Aio::handle_data(cur_obj, bl, ofs - cur_part_ofs, ofs, phandle);
+    int r = RGWPutObjProcessor_Aio::handle_obj_data(cur_obj, bl, ofs - cur_part_ofs, ofs, phandle);
 
     return r;
   }