]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os: do not include unused headers 39996/head
authorKefu Chai <kchai@redhat.com>
Wed, 10 Mar 2021 09:13:22 +0000 (17:13 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 16 Mar 2021 10:03:18 +0000 (18:03 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/os/seastore/onode.cc
src/crimson/os/seastore/onode.h

index a3e2483b20f42554a7dda0c1747f81ba91792b7f..d269f7760c3ad0965d88225060d2a109aa698b99 100644 (file)
@@ -2,7 +2,7 @@
 // vim: ts=8 sw=2 smarttab
 
 #include "onode.h"
-#include "include/encoding.h"
+#include <iostream>
 
 namespace crimson::os::seastore {
 
index a907a498fa4bec96e8da46ca8b9e7b824141b93e..3b9dd383a90b91375f0c927b2296220cab83e474 100644 (file)
@@ -3,16 +3,13 @@
 
 #pragma once
 
-#include <iostream>
-#include <limits>
+#include <iosfwd>
 
 #include <boost/intrusive_ptr.hpp>
 #include <boost/smart_ptr/intrusive_ref_counter.hpp>
 
-#include "include/buffer.h"
-#include "include/denc.h"
-
-#include "crimson/os/seastore/transaction.h"
+#include "include/byteorder.h"
+#include "seastore_types.h"
 
 namespace crimson::os::seastore {
 
@@ -21,6 +18,8 @@ struct onode_layout_t {
   omap_root_le_t omap_root;
 } __attribute__((packed));
 
+class Transaction;
+
 /**
  * Onode
  *