]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/osd: assign to bufferlist not to bufferlist*
authorKefu Chai <kchai@redhat.com>
Mon, 6 Jul 2020 02:07:03 +0000 (10:07 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 6 Jul 2020 02:07:17 +0000 (10:07 +0800)
this change addresses a regression introduced by a23a1929f5

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/objclass.cc

index a627f8524ccdb237d18742afc51032436c7258d8..9c02c5c746eee54ca3847352e64b2ff78ebef0c5 100644 (file)
@@ -297,7 +297,7 @@ int cls_cxx_map_read_header(cls_method_context_t hctx, bufferlist *outbl)
   if (const auto ret = execute_osd_op(hctx, op); ret < 0) {
     return ret;
   }
-  outbl = std::move(op.outdata);
+  *outbl = std::move(op.outdata);
   return 0;
 }