]> git.proxmox.com Git - mirror_edk2.git/commitdiff
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)
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


No differences found