267
267
s->last_bitmap_offset = bitmap_offset;
268
268
memset(bitmap, 0xff, s->bitmap_size);
269
bdrv_pwrite(s->hd, bitmap_offset, bitmap, s->bitmap_size);
269
bdrv_pwrite_sync(s->hd, bitmap_offset, bitmap, s->bitmap_size);
272
272
// printf("sector: %" PRIx64 ", index: %x, offset: %x, bioff: %" PRIx64 ", bloff: %" PRIx64 "\n",