/* Set the OFile's cluster info in its directory entry. */
STATIC VOID FatSetDirEntCluster(IN FAT_OFILE *OFile)
/* Set the OFile's cluster info in its directory entry. */
STATIC VOID FatSetDirEntCluster(IN FAT_OFILE *OFile)
{
  UINTN       Cluster;
  FAT_DIRENT  *DirEnt;
  DirEnt                        = OFile->DirEnt;
  Cluster                       = OFile->FileCluster;
  DirEnt->Entry.FileClusterHigh = (UINT16)(Cluster >> 16);
  DirEnt->Entry.FileCluster     = (UINT16)Cluster;
}