/* Add this directory entry node to the list of directory entries and hash table. */
STATIC VOID FatAddDirEnt(IN FAT_ODIR *ODir, IN FAT_DIRENT *DirEnt)
/* Add this directory entry node to the list of directory entries and hash table. */
STATIC VOID FatAddDirEnt(IN FAT_ODIR *ODir, IN FAT_DIRENT *DirEnt)
{
  if (DirEnt->Link.BackLink == NULL) {
    DirEnt->Link.BackLink = &ODir->ChildList;
  }
  InsertTailList (DirEnt->Link.BackLink, &DirEnt->Link);
  FatInsertToHashTable (ODir, DirEnt);
}