File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -867,19 +867,9 @@ OpsExecuter::flush_changes_and_submit(
867867 if (auto log_rit = log_entries.rbegin (); log_rit != log_entries.rend ()) {
868868 ceph_assert (log_rit->version == osd_op_params->at_version );
869869 }
870-
871- /*
872- * This works around the gcc bug causing the generated code to incorrectly
873- * execute unconditionally before the predicate.
874- *
875- * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101244
876- */
877- auto clone_obc = cloning_ctx
878- ? std::move (cloning_ctx->clone_obc )
879- : nullptr ;
880870 auto [_submitted, _all_completed] = co_await pg->submit_transaction (
881871 std::move (obc),
882- std::move (clone_obc),
872+ cloning_ctx ? std::move (cloning_ctx-> clone_obc ) : nullptr ,
883873 std::move (txn),
884874 std::move (*osd_op_params),
885875 std::move (log_entries)
You can’t perform that action at this time.
0 commit comments