summaryrefslogtreecommitdiff
path: root/FatPkg/EnhancedFatDxe/Info.c
diff options
context:
space:
mode:
Diffstat (limited to 'FatPkg/EnhancedFatDxe/Info.c')
-rw-r--r--FatPkg/EnhancedFatDxe/Info.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/FatPkg/EnhancedFatDxe/Info.c b/FatPkg/EnhancedFatDxe/Info.c
index cd8869acbc..ae85cce859 100644
--- a/FatPkg/EnhancedFatDxe/Info.c
+++ b/FatPkg/EnhancedFatDxe/Info.c
@@ -1,6 +1,6 @@
/*++
-Copyright (c) 2005 - 2009, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2005 - 2013, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
distribution. The full text of the license may be found at
@@ -515,6 +515,8 @@ Returns:
return EFI_DEVICE_ERROR;
}
+ FatWaitNonblockingTask (IFile);
+
FatAcquireLock ();
//
@@ -556,7 +558,7 @@ Returns:
}
}
- Status = FatCleanupVolume (Volume, NULL, Status);
+ Status = FatCleanupVolume (Volume, NULL, Status, NULL);
FatReleaseLock ();
return Status;