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 } }
Adds an inode to the inode tree .