Revision: 14991
http://sourceforge.net/p/edk2/code/14991
Author: niruiyu
Date: 2013-12-17 05:00:10 +0000 (Tue, 17 Dec 2013)
Log Message:
-----------
Add the missing assignment of EFI_DISK_IO2_TOKEN::Token in FlushDiskEx()
implementation. Without the assignment, system may hang sometimes.
Signed-off-by: Ruiyu Ni <[email protected]>
Reviewed-by: Feng Tian <[email protected]>
Modified Paths:
--------------
trunk/edk2/MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIo.c
Modified: trunk/edk2/MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIo.c
===================================================================
--- trunk/edk2/MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIo.c 2013-12-17
01:04:38 UTC (rev 14990)
+++ trunk/edk2/MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIo.c 2013-12-17
05:00:10 UTC (rev 14991)
@@ -1111,6 +1111,7 @@
return Status;
}
Task->Signature = DISK_IO2_FLUSH_TASK_SIGNATURE;
+ Task->Token = Token;
Status = Private->BlockIo2->FlushBlocksEx (Private->BlockIo2,
&Task->BlockIo2Token);
if (EFI_ERROR (Status)) {
gBS->CloseEvent (Task->BlockIo2Token.Event);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits