Fix in relocate_attributes(): don't stop processing of MFT record attributes

at AT_DATA of $BadClus and $Bitmap. In practice, there aren't non-resident
attributes after them so this recent bug shouldn't have caused data loss.
edge.strict_endians
szaka 2005-07-24 09:06:55 +00:00
parent e48bd91bbf
commit f6c4797379
1 changed files with 2 additions and 2 deletions

View File

@ -1640,11 +1640,11 @@ static void relocate_attributes(ntfs_resize_t *resize)
if (ret == -1)
exit(1);
else if (ret == 1)
break;
continue;
if (resize->mref == FILE_Bitmap &&
resize->ctx->attr->type == AT_DATA)
break;
continue;
relocate_attribute(resize);
}