/* Set the OFile's cluster and size info in its directory entry. */
VOID FatUpdateDirEntClusterSizeInfo(IN FAT_OFILE *OFile)
/* Set the OFile's cluster and size info in its directory entry. */
VOID FatUpdateDirEntClusterSizeInfo(IN FAT_OFILE *OFile)
{
  ASSERT (OFile->ODir == NULL);
  OFile->DirEnt->Entry.FileSize = (UINT32)OFile->FileSize;
  FatSetDirEntCluster (OFile);
}