Improved debugging code for apparent ext2 bug