From: weiqiaomiao Date: Sat, 23 Jul 2016 05:40:56 +0000 (+0800) Subject: rgw: fix wrong variable definition in rgw_cls_lc_set_entry function X-Git-Tag: ses5-milestone5~191^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=28c0539b156517530609e4f7fd48efe44ad060b0;p=ceph.git rgw: fix wrong variable definition in rgw_cls_lc_set_entry function Signed-off-by: weiqiaomiao --- diff --git a/src/cls/rgw/cls_rgw_client.cc b/src/cls/rgw/cls_rgw_client.cc index 41647845691d..f2dc02148bf5 100644 --- a/src/cls/rgw/cls_rgw_client.cc +++ b/src/cls/rgw/cls_rgw_client.cc @@ -714,11 +714,11 @@ int cls_rgw_lc_rm_entry(IoCtx& io_ctx, string& oid, pair& entry) int cls_rgw_lc_set_entry(IoCtx& io_ctx, string& oid, pair& entry) { - bufferlist in, out; - cls_rgw_lc_rm_entry_op call; - call.entry = entry; - ::encode(call, in); - int r = io_ctx.exec(oid, "rgw", "lc_set_entry", in, out); + bufferlist in, out; + cls_rgw_lc_set_entry_op call; + call.entry = entry; + ::encode(call, in); + int r = io_ctx.exec(oid, "rgw", "lc_set_entry", in, out); return r; }