eden/fs/inodes/InodeBase.cpp
// Helper function to update Journal used by FileInode and TreeInode.
Helper function to update Journal used by FileInode and TreeInode.
Helper function to update Journal used by FileInode and TreeInode .
void InodeBase::updateJournal() {
  auto path = getPath();
  if (path.has_value()) {
    getMount()->getJournal().addDelta(std::make_unique<JournalDelta>(
        std::move(path.value()), JournalDelta::CHANGED));
  }
}
void InodeBase :: updateJournal ( ) { auto path = getPath ( ) ; if ( path . has_value ( ) ) { getMount ( ) -> getJournal ( ) . addDelta ( std :: make_unique < JournalDelta > ( std :: move ( path . value ( ) ) , JournalDelta :: CHANGED ) ) ; } }
Helper function to update Journal used by FileInode and TreeInode.
Helper function to update Journal used by FileInode and TreeInode .