code: public void applyAndJournal(Supplier<JournalContext> context, MutableInode<?> inode) {
      try {
        applyCreateInode(inode);
        context.get().append(inode.toJournalEntry());
      } catch (Throwable t) {
        ProcessUtils.fatalError(LOG, t, "Failed to apply %s", inode);
        throw t; // fatalError will usually system.exit
      }
    }
docs: Adds an inode to the inode tree.
  
  @param context journal context supplier
  @param inode an inode to add and create a journal entry for