Introduce an fsck API