]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd/osd_operations/client_request: don't use and move pgref at the same time
authorYingxin Cheng <yingxin.cheng@intel.com>
Tue, 9 Jan 2024 06:39:41 +0000 (14:39 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Mon, 22 Jan 2024 08:43:49 +0000 (16:43 +0800)
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/osd/osd_operations/client_request.cc

index 1611531fcd0b974236668ede1c062db8e483b546..d1eb9fbb350dd499f396b74198afb9d4bddaa246 100644 (file)
@@ -171,7 +171,7 @@ seastar::future<> ClientRequest::with_pg_int(Ref<PG> 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();