From 62f00e45b81c82b73e03b8af912244d85b0ebab3 Mon Sep 17 00:00:00 2001 From: Radoslaw Zarzynski Date: Thu, 18 Mar 2021 08:58:56 +0000 Subject: [PATCH] crimson/osd: use the alias for OpsExecuter in PG::do_osd_ops(). It's already defined there. We've just missed this fact in one place. Signed-off-by: Radoslaw Zarzynski --- src/crimson/osd/pg.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/crimson/osd/pg.cc b/src/crimson/osd/pg.cc index afe182cb649e0..10a7a4f5520c4 100644 --- a/src/crimson/osd/pg.cc +++ b/src/crimson/osd/pg.cc @@ -708,8 +708,8 @@ PG::do_osd_ops( throw crimson::common::system_shutdown_exception(); } - using osd_op_ierrorator = - OpsExecuter::osd_op_ierrorator; + using osd_op_ierrorator = OpsExecuter::osd_op_ierrorator; + using osd_op_errorator = OpsExecuter::osd_op_errorator; const auto oid = m->get_snapid() == CEPH_SNAPDIR ? m->get_hobj().get_head() : m->get_hobj(); auto ox = std::make_unique( @@ -769,10 +769,10 @@ PG::do_osd_ops( return PG::do_osd_ops_ertr::future>( crimson::ct_error::eagain::make()); }); - }), OpsExecuter::osd_op_errorator::all_same_way([ox = std::move(ox), - m, - obc, - this] (const std::error_code& e) { + }), osd_op_errorator::all_same_way([ox = std::move(ox), + m, + obc, + this] (const std::error_code& e) { return handle_failed_op(e, std::move(obc), *ox, *m); })); } -- 2.39.5