\r
The write record has three states to specify the different phase of write operation.\r
1) WRITE_ALLOCATED is that the record is allocated in write space.\r
- The write record structure records the information of write operation.\r
+ The information of write operation is stored in write record structure.\r
2) SPARE_COMPLETED is that the data from write buffer is writed into the spare block as the backup.\r
3) WRITE_COMPLETED is that the data is copied from the spare block to the target block.\r
\r
\r
//\r
// IF target block is working block, THEN Flush Spare Block To Working Block;\r
- // ELSE IF target block is boot block, THEN Flush Spare Block To boot Block;\r
// ELSE flush spare block to normal target block.ENDIF\r
//\r
if (IsInWorkingBlock (FtwLiteDevice, Fvb, Record->Lba)) {\r
Status = FlushSpareBlockToWorkingBlock (FtwLiteDevice);\r
} else {\r
//\r
- // Update blocks other than working block or boot block\r
+ // Update blocks other than working block\r
//\r
Status = FlushSpareBlockToTargetBlock (FtwLiteDevice, Fvb, Record->Lba);\r
}\r