From: Yingxin Cheng Date: Tue, 9 Jan 2024 06:39:41 +0000 (+0800) Subject: crimson/osd/osd_operations/client_request: don't use and move pgref at the same time X-Git-Tag: v19.1.0~438^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=829a9b4d5f61d97ef1d45a6ca972b0cd65d1306c;p=ceph.git crimson/osd/osd_operations/client_request: don't use and move pgref at the same time Signed-off-by: Yingxin Cheng --- diff --git a/src/crimson/osd/osd_operations/client_request.cc b/src/crimson/osd/osd_operations/client_request.cc index 1611531fcd0b9..d1eb9fbb350dd 100644 --- a/src/crimson/osd/osd_operations/client_request.cc +++ b/src/crimson/osd/osd_operations/client_request.cc @@ -171,7 +171,7 @@ seastar::future<> ClientRequest::with_pg_int(Ref pgref) DEBUGDPP("{}.{}: interrupted due to {}", *pgref, *this, this_instance_id, eptr); }, pgref).finally( - [this, FNAME, opref=std::move(opref), pgref=std::move(pgref), + [this, FNAME, opref=std::move(opref), pgref, this_instance_id, instance_handle=std::move(instance_handle), &ihref] { DEBUGDPP("{}.{}: exit", *pgref, *this, this_instance_id); ihref.handle.exit();