*Speed up mount hack on dirty partitions. Only clear first 64kb of log. (thanks rodries)

This commit is contained in:
dimok321 2011-01-26 18:20:39 +00:00
parent ee41c26551
commit 520fc5f305

View File

@ -729,6 +729,7 @@ int ntfs_empty_logfile(ntfs_attr *na)
return -1;
}
pos += count;
if(pos>=64*1024) break; //only clear first 64kb
}
NVolSetLogFileEmpty(na->ni->vol);