summaryrefslogtreecommitdiffstats
path: root/FatPkg/EnhancedFatDxe/Info.c
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2013-10-30 03:13:16 +0000
committerJordan Justen <jordan.l.justen@intel.com>2016-04-06 23:22:43 -0700
commit149d633529cc3105474f392215cc188741fb6617 (patch)
tree29b4f5d64fa95b1bbe04f44ac2b4cdad62a9519a /FatPkg/EnhancedFatDxe/Info.c
parent04a4fdb99f28e320ca0922f2ad1182702454ae22 (diff)
downloadedk2-149d633529cc3105474f392215cc188741fb6617.tar.gz
edk2-149d633529cc3105474f392215cc188741fb6617.tar.bz2
edk2-149d633529cc3105474f392215cc188741fb6617.zip
Change Fat driver to support asynchronous File IO introduced in UEFI spec 2.3.1.D.
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com> (based on FatPkg commit 063f6e8a9c263bafd52e1226399fc64d6d721dca) [jordan.l.justen@intel.com: Use script to relicense to 2-clause BSD] Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Acked-by: Mark Doran <mark.doran@intel.com> Acked-by: Laszlo Ersek <lersek@redhat.com>
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;