}
//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() << ") ";
}
state_set(STATE_AUTH);
}
-void CInode::print(ostream& out)
+void CInode::print(ostream& out) const
{
out << *this;
}