/* Expand OFile by appending zero bytes at the end of OFile. */
EFI_STATUS FatExpandOFile(IN FAT_OFILE *OFile, IN UINT64 ExpandedSize)
/* Expand OFile by appending zero bytes at the end of OFile. */
EFI_STATUS FatExpandOFile(IN FAT_OFILE *OFile, IN UINT64 ExpandedSize)
{
  EFI_STATUS  Status;
  UINTN       WritePos;
  WritePos = OFile->FileSize;
  Status   = FatGrowEof (OFile, ExpandedSize);
  if (!EFI_ERROR (Status)) {
    Status = FatWriteZeroPool (OFile, WritePos);
  }
  return Status;
}