g_object_ref(captive_private_bcb_pin_object);
return captive_private_bcb_pin_object;
}
+
+ /* Invalide possibly only 'map'ped data as we need to re-read them.
+ * Otherwise any file written by fastfat.sys of NT-5.1sp1 will corrupt
+ * the code+55AA of DOS boot sector (disk offset 0x0).
+ */
+ captive_shared_cache_map_flush(captive_shared_cache_map_object,
+ offset,offset+PAGE_SIZE);
+ captive_shared_cache_map_set_data_invalid(captive_shared_cache_map_object,
+ offset,offset+PAGE_SIZE);
+
return captive_private_bcb_pin_object_new(captive_shared_cache_map_object,offset);
}