From: Matan Breizman Date: Sun, 19 Feb 2023 10:50:04 +0000 (+0000) Subject: crimson/osd/object_context_loader: with_clone_obc to move head X-Git-Tag: v18.1.0~87^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f1bd57c05e74fdff61f00d774ecdd52dc1a12757;p=ceph.git crimson/osd/object_context_loader: with_clone_obc to move head Signed-off-by: Matan Breizman (cherry picked from commit 4bf99c69f2506babc566395ea1f090c30bd70d30) --- diff --git a/src/crimson/osd/object_context_loader.cc b/src/crimson/osd/object_context_loader.cc index 0928fb78be05..1aa2faa0d695 100644 --- a/src/crimson/osd/object_context_loader.cc +++ b/src/crimson/osd/object_context_loader.cc @@ -47,7 +47,7 @@ using crimson::common::local_conf; crimson::ct_error::enoent::make() }; } - return this->with_clone_obc_only(head, + return this->with_clone_obc_only(std::move(head), oid, std::move(func)); });