]> git.proxmox.com Git - mirror_edk2.git/blobdiff - FatPkg/EnhancedFatDxe/Delete.c
Vlv2TbltDevicePkg:Signal EndOfDxe Event.
[mirror_edk2.git] / FatPkg / EnhancedFatDxe / Delete.c
index d39b8b765bbe74ee4668e1d7d5833d02f2a32722..e5103a850c668424bae4f5eea97240f04bfea223 100644 (file)
@@ -1,7 +1,7 @@
 /*++\r
 \r
-Copyright (c) 2005 - 2009, Intel Corporation\r
-All rights reserved. This program and the accompanying materials are licensed and made available\r
+Copyright (c) 2005 - 2013, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials are licensed and made available\r
 under the terms and conditions of the BSD License which accompanies this\r
 distribution. The full text of the license may be found at\r
 http://opensource.org/licenses/bsd-license.php\r
@@ -55,6 +55,8 @@ Returns:
   IFile = IFILE_FROM_FHAND (FHand);\r
   OFile = IFile->OFile;\r
 \r
+  FatWaitNonblockingTask (IFile);\r
+\r
   //\r
   // Lock the volume\r
   //\r
@@ -127,7 +129,7 @@ Done:
   //\r
   // Done\r
   //\r
-  Status = FatCleanupVolume (OFile->Volume, NULL, Status);\r
+  Status = FatCleanupVolume (OFile->Volume, NULL, Status, NULL);\r
   FatReleaseLock ();\r
 \r
   if (EFI_ERROR (Status)) {\r