Minor change to functions read_block(), write_block(), save(), revert()