Journaling in a file system refers to keeping a record of all changes. This allows for faster file system consistency checks. It also allows for rollbacks to earlier states in the event errors are detected.