Merge RQ1A.210105.003 to stage-aosp-master - DO NOT MERGE
Merged-In: I921f2e386c79d3d97715a2fe08838f9e8593f4f8 Change-Id: I623b405e0b3b3125bc2d4036997b67b48268c2b7
This commit is contained in:
@@ -292,7 +292,8 @@ int BasicMBRData::ReadLogicalParts(uint64_t extendedStart, int partNum) {
|
||||
if (EbrLocations[i] == offset) { // already read this one; infinite logical partition loop!
|
||||
cerr << "Logical partition infinite loop detected! This is being corrected.\n";
|
||||
allOK = -1;
|
||||
partNum -= 1;
|
||||
if(partNum > 0) //don't go negative
|
||||
partNum -= 1;
|
||||
} // if
|
||||
} // for
|
||||
EbrLocations[partNum] = offset;
|
||||
|
||||
Reference in New Issue
Block a user