]> git.proxmox.com Git - mirror_edk2.git/commit
Fixed bug in partition driver:
authoryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 23 Jan 2007 10:28:32 +0000 (10:28 +0000)
committeryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 23 Jan 2007 10:28:32 +0000 (10:28 +0000)
commitc7c02fabf120cc1aeccd0cb0fc7f8671fa1cb25e
treeec256dd7857126adb4d0c4b35cb24e4f86e7bb24
parent6c2c7b7460537842e33cf6e0aef431ba7109955a
Fixed bug in partition driver:
When Block I/O detects the media changed, block driver will reinstall block I/O protocol. If it happened during start() of partition driver, the reinstall protocol would results in the reentrant of the start(). In the patch, we check status of child detection to see whether need clean up the opened block I/O protocol in Start().

Besides, some checking of return status added in usbbus driver to improve robusticiy of the driver.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2288 6f19259b-4bc3-4df7-8a09-765794883524
EdkModulePkg/Bus/Usb/UsbBus/Dxe/usbbus.c
EdkModulePkg/Universal/Disk/Partition/Dxe/ElTorito.c
EdkModulePkg/Universal/Disk/Partition/Dxe/Gpt.c
EdkModulePkg/Universal/Disk/Partition/Dxe/Mbr.c
EdkModulePkg/Universal/Disk/Partition/Dxe/Partition.c
EdkModulePkg/Universal/Disk/Partition/Dxe/Partition.h