Journaling and Crash Consistency

A file system write requires updating three structures: the data block, the inode, and the bitmap. The system crashes after writing only the inode. What problem does this cause, and what mechanism prevents it?