]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg: When media_change happens at Partition.Start(), the lower driver (ScsiD...
authorerictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 6 Mar 2012 09:34:14 +0000 (09:34 +0000)
committererictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 6 Mar 2012 09:34:14 +0000 (09:34 +0000)
commit9c9225255d0e85c2274e8d4df6103e6c5c92600a
tree2946890e480d39a866a93e48a38f994c46367c7e
parent6cfc72925616a2c363300332a0344c16a1da801e
MdeModulePkg: When media_change happens at Partition.Start(), the lower driver (ScsiDisk) should immediately return EFI_MEDIA_CHANGE but not EFI_SUCCESS. This way is used to avoid the interrupted Partition.Start() closes those opened protocols(DiskIo and DevicePath protocol) who are using by the re-entered partition driver at the same handle.

Signed-off-by: erictian
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13082 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c