Skip to content

Commit

Permalink
Merge pull request ceph#12262 from cbodley/wip-17888
Browse files Browse the repository at this point in the history
rgw: fix for versioned delete_multi_object
ftw
  • Loading branch information
mattbenjamin authored Dec 2, 2016
2 parents 2630df7 + cc2d1e6 commit 4951fbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rgw/rgw_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5242,8 +5242,8 @@ void RGWDeleteMultiObj::execute()
for (iter = multi_delete->objects.begin();
iter != multi_delete->objects.end() && num_processed < max_to_delete;
++iter, num_processed++) {
rgw_obj obj(bucket, (*iter).name);
obj.set_instance(s->object.instance);
rgw_obj obj(bucket, iter->name);
obj.set_instance(iter->instance);

obj_ctx->set_atomic(obj);

Expand Down

0 comments on commit 4951fbc

Please sign in to comment.