summaryrefslogtreecommitdiffstats
path: root/src/cls/rgw
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@redhat.com>2014-07-30 20:53:16 +0200
committerYehuda Sadeh <yehuda@redhat.com>2014-07-30 20:53:16 +0200
commit0f8929a68aed9bc3e50cf15765143a9c55826cd2 (patch)
tree757e7023eeb7b003a518ed9bb0742a0d7677d6b7 /src/cls/rgw
parentMerge pull request #2112 from ceph/wip-rbd-defaults (diff)
downloadceph-0f8929a68aed9bc3e50cf15765143a9c55826cd2.tar.xz
ceph-0f8929a68aed9bc3e50cf15765143a9c55826cd2.zip
cls_rgw: fix object name of objects removed on object creation
Fixes: #8972 Backport: firefly, dumpling Reported-by: Patrycja Szabłowska <szablowska.patrycja@gmail.com> Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Diffstat (limited to 'src/cls/rgw')
-rw-r--r--src/cls/rgw/cls_rgw.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cls/rgw/cls_rgw.cc b/src/cls/rgw/cls_rgw.cc
index 005558a62f7..eb4a4232d18 100644
--- a/src/cls/rgw/cls_rgw.cc
+++ b/src/cls/rgw/cls_rgw.cc
@@ -670,7 +670,7 @@ int rgw_bucket_complete_op(cls_method_context_t hctx, bufferlist *in, bufferlist
unaccount_entry(header, remove_entry);
if (op.log_op) {
- rc = log_index_operation(hctx, op.name, CLS_RGW_OP_DEL, op.tag, remove_entry.meta.mtime,
+ rc = log_index_operation(hctx, remove_oid_name, CLS_RGW_OP_DEL, op.tag, remove_entry.meta.mtime,
remove_entry.ver, CLS_RGW_STATE_COMPLETE, header.ver, header.max_marker);
if (rc < 0)
continue;