audk/FatPkg
Robinson, Herbie add1310df5 FatPkg/EnhancedFatDxe Fix Double Cluster Allocation
This is a fix for a double cluster allocation when the disk is full.
The double allocation happens because FatGrowEof calls
FatAllocateCluster without immediately marking the each returned
cluster as allocated. The fix is to move the FatSetFatEntry call
inside the loop.
I've also include some improvements to the sanity checks that I added
while tracking this down. They are optional.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Herbie Robinson <Herbie.Robinson@stratus.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
2018-10-24 13:30:43 +08:00
..
EnhancedFatDxe FatPkg/EnhancedFatDxe Fix Double Cluster Allocation 2018-10-24 13:30:43 +08:00
FatPei FatPkg: Removing ipf which is no longer supported from edk2. 2018-09-06 14:44:30 +08:00
FatPkg.dec FatPkg: Fix format issues in dec/inf/dsc files 2016-12-09 11:02:10 +08:00
FatPkg.dsc FatPkg: Removing ipf which is no longer supported from edk2. 2018-09-06 14:44:30 +08:00
FatPkg.uni FatPkg: Clean up source files 2018-06-28 11:19:41 +08:00
FatPkgExtra.uni FatPkg: Clean up source files 2018-06-28 11:19:41 +08:00