]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/mds/CInode.cc
update ceph source to reef 18.2.1
[ceph.git] / ceph / src / mds / CInode.cc
index e6cd03442bbd7c24d88b09d31ae1f2f726f7bf29..23cb087c835871ef65662eab975940905908ce34 100644 (file)
@@ -131,7 +131,7 @@ std::string_view CInode::pin_name(int p) const
 }
 
 //int cinode_pins[CINODE_NUM_PINS];  // counts
-ostream& CInode::print_db_line_prefix(ostream& out)
+ostream& CInode::print_db_line_prefix(ostream& out) const
 {
   return out << ceph_clock_now() << " mds." << mdcache->mds->get_nodeid() << ".cache.ino(" << ino() << ") ";
 }
@@ -338,7 +338,7 @@ CInode::CInode(MDCache *c, bool auth, snapid_t f, snapid_t l) :
     state_set(STATE_AUTH);
 }
 
-void CInode::print(ostream& out)
+void CInode::print(ostream& out) const
 {
   out << *this;
 }