kerneltest/e32test/mediaext/d_nfe.cpp
changeset 126 2b2a51c87b12
parent 123 fc55edbf3919
child 134 95847726fe57
equal deleted inserted replaced
125:947dd86c44e2 126:2b2a51c87b12
   870 		iDriveNumToIndex[driveNum] = i;
   870 		iDriveNumToIndex[driveNum] = i;
   871 
   871 
   872 		TNfeDriveInfo& di = iInfo.iDrives[i];
   872 		TNfeDriveInfo& di = iInfo.iDrives[i];
   873 
   873 
   874 		di.iDriveFinalised = EFalse;	// a remount clears the finalised state
   874 		di.iDriveFinalised = EFalse;	// a remount clears the finalised state
       
   875 
       
   876 		// Make sure we haven't lost the swap partition
       
   877 		__ASSERT_ALWAYS(!(di.iEntry.iPartitionType == KPartitionTypePagedData && aInfo.iEntry[i].iPartitionType != KPartitionTypePagedData), NFE_FAULT());
   875 
   878 
   876 		// Make a copy of the TPartitionEntry
   879 		// Make a copy of the TPartitionEntry
   877 		di.iEntry = aInfo.iEntry[i];
   880 		di.iEntry = aInfo.iEntry[i];
   878 
   881 
   879 
   882