We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c256002 commit 7d4f4b0Copy full SHA for 7d4f4b0
src/volume_mgr.rs
@@ -386,7 +386,7 @@ where
386
let mut fat_table =
387
fat::FatTable::create_from_bytes(&mut block.contents, volume.get_fat_type())
388
.map_err(Error::FormatError)?;
389
- if !fat_table.dirty() {
+ if fat_table.dirty() != dirty {
390
fat_table.set_dirty(dirty);
391
if volume.fat_nums == 1 || volume.fat_nums == 2 {
392
self.block_device.write(&blocks, fat_table1_start)?;
0 commit comments