mirror of
https://github.com/wiiu-env/libntfs.git
synced 2024-11-14 22:25:05 +01:00
*Speed up mount hack on dirty partitions. Only clear first 64kb of log. (thanks rodries)
This commit is contained in:
parent
4948b69293
commit
5294173380
@ -729,6 +729,7 @@ int ntfs_empty_logfile(ntfs_attr *na)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
pos += count;
|
pos += count;
|
||||||
|
if(pos>=64*1024) break; //only clear first 64kb
|
||||||
}
|
}
|
||||||
|
|
||||||
NVolSetLogFileEmpty(na->ni->vol);
|
NVolSetLogFileEmpty(na->ni->vol);
|
||||||
|
Loading…
Reference in New Issue
Block a user