]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/include/fs_types.h
update sources to v12.1.0
[ceph.git] / ceph / src / include / fs_types.h
index 161d44104eca743f7a75c8da7b1b9020e44a67fb..c6343fe1bcd14765725d98ccd573d9c715d17a0d 100644 (file)
@@ -4,7 +4,6 @@
 #define CEPH_INCLUDE_FS_TYPES_H
 
 #include "types.h"
-#include "utime.h"
 
 // --------------------------------------
 // ino
@@ -33,6 +32,7 @@ struct denc_traits<inodeno_t> {
   static constexpr bool supported = true;
   static constexpr bool featured = false;
   static constexpr bool bounded = true;
+  static constexpr bool need_contiguous = true;
   static void bound_encode(const inodeno_t &o, size_t& p) {
     denc(o.val, p);
   }
@@ -44,7 +44,7 @@ struct denc_traits<inodeno_t> {
   }
 };
 
-inline ostream& operator<<(ostream& out, inodeno_t ino) {
+inline ostream& operator<<(ostream& out, const inodeno_t& ino) {
   return out << hex << ino.val << dec;
 }