]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: Remove unused code in PutMetadataAccount:execute 6668/head
authorPete Zaitcev <zaitcev@kotori.zaitcev.us>
Fri, 20 Nov 2015 22:53:23 +0000 (15:53 -0700)
committerPete Zaitcev <zaitcev@kotori.zaitcev.us>
Fri, 20 Nov 2015 22:54:46 +0000 (15:54 -0700)
Apparently this belonged to Object branch and escaped during
refactoring in commit 84d746b36.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
src/rgw/rgw_op.cc

index 993659a8f69ed9269fb5f21396cc8fd2568c47c1..71facddf6b56157a520dcb0853b6dc73ac07f051 100644 (file)
@@ -2279,15 +2279,9 @@ void RGWPutMetadataAccount::filter_out_temp_url(map<string, bufferlist>& add_att
 
 void RGWPutMetadataAccount::execute()
 {
-  rgw_obj obj;
   map<string, bufferlist> attrs, orig_attrs, rmattrs;
   RGWObjVersionTracker acct_op_tracker;
 
-  /* Get the name of raw object which stores the metadata in its xattrs. */
-  string buckets_obj_id;
-  rgw_get_buckets_obj(s->user.user_id, buckets_obj_id);
-  obj = rgw_obj(store->zone.user_uid_pool, buckets_obj_id);
-
   ret = get_params();
   if (ret < 0) {
     return;