From: Adam C. Emerson Date: Thu, 2 Feb 2017 20:36:51 +0000 (-0500) Subject: rgw: Use non-deprecated get_omap function X-Git-Tag: v12.0.1~478^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bcf7d9b830cd4b7372385d7f7671e82c71f68739;p=ceph.git rgw: Use non-deprecated get_omap function Signed-off-by: Adam C. Emerson --- diff --git a/src/rgw/rgw_cr_rados.cc b/src/rgw/rgw_cr_rados.cc index c5e04b47ab8..5d7e19de87c 100644 --- a/src/rgw/rgw_cr_rados.cc +++ b/src/rgw/rgw_cr_rados.cc @@ -285,7 +285,7 @@ int RGWRadosGetOmapKeysCR::send_request() { set_status() << "send request"; librados::ObjectReadOperation op; - op.omap_get_vals(marker, max_entries, entries, &rval); + op.omap_get_vals2(marker, max_entries, entries, nullptr, &rval); cn = stack->create_completion_notifier(); return ioctx.aio_operate(oid, cn->completion(), &op, NULL);