Invalidating checksum buffer in case that image generation gets cancled.

This commit is contained in:
Thomas Schmitt 2009-12-31 12:47:45 +01:00
parent cbb376a137
commit da23a8166c

View File

@ -938,8 +938,10 @@ void *write_function(void *arg)
#ifdef Libisofs_with_checksumS #ifdef Libisofs_with_checksumS
/* Transplant checksum buffer from Ecma119Image to IsoImage */ /* Transplant checksum buffer away from Ecma119Image */
transplant_checksum_buffer(target, 0); transplant_checksum_buffer(target, 0);
/* Invalidate the transplanted checksum buffer in IsoImage */
iso_image_free_checksums(target->image, 0);
#endif #endif