Blame SOURCES/check-mftmirr.patch
|
|
0f6478 |
--- libntfs-3g/volume.c.ref 2017-03-23 10:42:44.000000000 +0100
|
|
|
0f6478 |
+++ libntfs-3g/volume.c 2017-12-20 08:11:51.842424300 +0100
|
|
|
0f6478 |
@@ -959,7 +959,8 @@
|
|
|
0f6478 |
vol->mftmirr_size = l;
|
|
|
0f6478 |
}
|
|
|
0f6478 |
ntfs_log_debug("Comparing $MFTMirr to $MFT...\n");
|
|
|
0f6478 |
- for (i = 0; i < vol->mftmirr_size; ++i) {
|
|
|
0f6478 |
+ /* Windows 10 does not update the full $MFTMirr any more */
|
|
|
0f6478 |
+ for (i = 0; (i < vol->mftmirr_size) && (i < FILE_first_user); ++i) {
|
|
|
0f6478 |
MFT_RECORD *mrec, *mrec2;
|
|
|
0f6478 |
const char *ESTR[12] = { "$MFT", "$MFTMirr", "$LogFile",
|
|
|
0f6478 |
"$Volume", "$AttrDef", "root directory", "$Bitmap",
|