]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd/object_context_loader: with_clone_obc to move head
authorMatan Breizman <mbreizma@redhat.com>
Sun, 19 Feb 2023 10:50:04 +0000 (10:50 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Sun, 21 May 2023 08:12:30 +0000 (08:12 +0000)
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
(cherry picked from commit 4bf99c69f2506babc566395ea1f090c30bd70d30)

src/crimson/osd/object_context_loader.cc

index 0928fb78be0593390a8c52b1684f742915354125..1aa2faa0d695ad3066015b8ff82e269f7f397ea2 100644 (file)
@@ -47,7 +47,7 @@ using crimson::common::local_conf;
           crimson::ct_error::enoent::make()
         };
       }
-      return this->with_clone_obc_only<State>(head,
+      return this->with_clone_obc_only<State>(std::move(head),
                                               oid,
                                               std::move(func));
     });