summaryrefslogtreecommitdiffstats
path: root/FatPkg/EnhancedFatDxe/Flush.c
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2016-12-08 13:18:08 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2016-12-09 11:02:08 +0800
commitc1680e885d8a4bc938a0ed4db5370d7e974c1849 (patch)
tree23bf6c7735fb4e57c8a46afc41d12c7c69435df3 /FatPkg/EnhancedFatDxe/Flush.c
parent5d7cee9d3c3e15fd6ad87910d96c87e5aec12360 (diff)
downloadedk2-c1680e885d8a4bc938a0ed4db5370d7e974c1849.tar.gz
edk2-c1680e885d8a4bc938a0ed4db5370d7e974c1849.tar.bz2
edk2-c1680e885d8a4bc938a0ed4db5370d7e974c1849.zip
FatPkg/EnhancedFatDxe: Make the variable name follow rule
Cc: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'FatPkg/EnhancedFatDxe/Flush.c')
-rw-r--r--FatPkg/EnhancedFatDxe/Flush.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/FatPkg/EnhancedFatDxe/Flush.c b/FatPkg/EnhancedFatDxe/Flush.c
index 2c960f3b99..172f2023da 100644
--- a/FatPkg/EnhancedFatDxe/Flush.c
+++ b/FatPkg/EnhancedFatDxe/Flush.c
@@ -462,7 +462,7 @@ Returns:
// indicates this a FAT32 volume
//
if (Volume->FreeInfoValid && Volume->FatDirty && Volume->FreeInfoPos) {
- Status = FatDiskIo (Volume, WRITE_DISK, Volume->FreeInfoPos, sizeof (FAT_INFO_SECTOR), &Volume->FatInfoSector, Task);
+ Status = FatDiskIo (Volume, WriteDisk, Volume->FreeInfoPos, sizeof (FAT_INFO_SECTOR), &Volume->FatInfoSector, Task);
if (EFI_ERROR (Status)) {
return Status;
}
@@ -470,9 +470,9 @@ Returns:
//
// Update that the volume is not dirty
//
- if (Volume->FatDirty && Volume->FatType != FAT12) {
+ if (Volume->FatDirty && Volume->FatType != Fat12) {
Volume->FatDirty = FALSE;
- Status = FatAccessVolumeDirty (Volume, WRITE_FAT, &Volume->NotDirtyValue);
+ Status = FatAccessVolumeDirty (Volume, WriteFat, &Volume->NotDirtyValue);
if (EFI_ERROR (Status)) {
return Status;
}