goto Done;\r
}\r
//\r
- // If the file has a permanant error, skip the delete\r
+ // If the file has a permanent error, skip the delete\r
//\r
Status = OFile->Error;\r
if (!EFI_ERROR (Status)) {\r
Get a directory entry from disk for the Ofile.\r
\r
@param Parent - The parent of the OFile which need to update.\r
- @param IoMode - Indicate whether to read directory entry or write directroy entry.\r
+ @param IoMode - Indicate whether to read directory entry or write directory entry.\r
@param EntryPos - The position of the directory entry to be accessed.\r
@param Entry - The directory entry read or written.\r
\r
Status = FatAllocateVolume (ControllerHandle, DiskIo, DiskIo2, BlockIo);\r
\r
//\r
- // When the media changes on a device it will Reinstall the BlockIo interaface.\r
+ // When the media changes on a device it will Reinstall the BlockIo interface.\r
// This will cause a call to our Stop(), and a subsequent reentrant call to our\r
// Start() successfully. We should leave the device open when this happen.\r
//\r
UINTN Signature;\r
FAT_VOLUME *Volume;\r
//\r
- // A permanant error code to return to all accesses to\r
+ // A permanent error code to return to all accesses to\r
// this opened file\r
//\r
EFI_STATUS Error;\r
LIST_ENTRY Opens;\r
\r
//\r
- // The dynamic infomation\r
+ // The dynamic information\r
//\r
UINTN FileSize;\r
UINTN FileCluster;\r
@param FatName - The Char8 string needs to be converted.\r
@param Len - The length of the fat name.\r
@param LowerCase - Indicate whether to convert the string to lower case.\r
- @param Str - The result of the convertion.\r
+ @param Str - The result of the conversion.\r
\r
**/\r
VOID\r
@param FatName - The Char8 string needs to be converted.\r
@param Len - The length of the fat name.\r
@param LowerCase - Indicate whether to convert the string to lower case.\r
- @param Str - The result of the convertion.\r
+ @param Str - The result of the conversion.\r
\r
**/\r
VOID\r
\r
/**\r
\r
- Free the cluster clain.\r
+ Free the cluster chain.\r
\r
@param Volume - FAT file system volume.\r
@param Cluster - The first cluster of cluster chain.\r
ASSERT_VOLUME_LOCKED (Volume);\r
\r
//\r
- // If this is the fixed root dir, then compute it's position\r
- // from it's fixed info in the fat bpb\r
+ // If this is the fixed root dir, then compute its position\r
+ // from its fixed info in the fat bpb\r
//\r
if (OFile->IsFixedRootDir) {\r
OFile->PosDisk = Volume->RootPos + Position;\r
//\r
do {\r
//\r
- // If the file has a permanant error, then don't write any\r
+ // If the file has a permanent error, then don't write any\r
// of its data to the device (may be from different media)\r
//\r
if (EFI_ERROR (OFile->Error)) {\r
\r
Check the references of all open files on the volume.\r
Any open file (that is checked) that is no longer\r
- referenced, is freed - and it's parent open file\r
+ referenced, is freed - and its parent open file\r
is then referenced checked.\r
\r
@param Volume - The volume to check the pending open file list.\r