]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
fixup: crimson/osd: compile and link with ECTransaction.cc
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Fri, 18 Apr 2025 09:03:53 +0000 (09:03 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Tue, 27 Jan 2026 14:37:36 +0000 (14:37 +0000)
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/osd/ECListener.h
src/osd/ECTransaction.cc
src/osd/PGTransaction.h

index 229d268e77b05ba59bbd145ad37474818bbe4773..765c1411015e35a9367489b110a05a833abcc591 100644 (file)
@@ -15,7 +15,9 @@
 
 #pragma once
 
+#ifndef WITH_CRIMSON
 #include "osd_internal_types.h"
+#endif
 #include "OSDMap.h"
 #include "common/WorkQueue.h"
 #include "PGLog.h"
index db2e8d94466398f893475747ba22794b68ae1fec..bd8c991c43c64dc37f9073d2479dc17ea4b2018b 100644 (file)
@@ -23,7 +23,7 @@
 #include "os/ObjectStore.h"
 #include "common/inline_variant.h"
 
-#ifndef WITH_SEASTAR
+#ifndef WITH_CRIMSON
 #include "osd/osd_internal_types.h"
 #else
 #include "crimson/osd/object_context.h"
index afc9ab714fc1029cdaff0fe42e9c9122973bb481..55ad9add48f641662c2924ef83c417418f182ca4 100644 (file)
@@ -25,7 +25,7 @@
 #include "osd/osd_internal_types.h"
 #else
 #include "crimson/osd/object_context.h"
-using ObjectContextRef = crimson::osd::ObjectContextRef;
+typedef crimson::osd::ObjectContextRef ObjectContextRef;
 #endif
 #include "common/interval_map.h"
 #include "common/inline_variant.h"