/* Count the number of clusters given a size. */
STATIC UINTN FatSizeToClusters(IN FAT_VOLUME *Volume, IN UINTN Size)
/* Count the number of clusters given a size. */
STATIC UINTN FatSizeToClusters(IN FAT_VOLUME *Volume, IN UINTN Size)
{
  UINTN  Clusters;
  Clusters = Size >> Volume->ClusterAlignment;
  if ((Size & (Volume->ClusterSize - 1)) > 0) {
    Clusters += 1;
  }
  return Clusters;
}