audk/MdeModulePkg/Universal/Disk/PartitionDxe
Zhichao Gao c7195b9ec3 MdeModulePkg/PartitionDxe: Add already start check for child hanldes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2823

The partition binding driver would run serval times during BDS.
If the partition support MBR, it would pass the first connection
in MBR partition child handler. The second connect for the same
device would return already started which would be treated as
not found. And it would continue to run next partition child
handler check. That is incorrect behavior to do next check if one
of the routine functions is passed. It may cause one device
installed serval partition child handle on it.
So treat the EFI_ALREADY_STARTED as EFI_SUCCESS to avoid incorrect
next partition child handle check.

Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
2020-07-15 01:18:13 +00:00
..
ComponentName.c
ElTorito.c
Gpt.c
Mbr.c MdeModulePkg/PartitionDxe: Skip the MBR that add for CD-ROM 2020-07-15 01:18:13 +00:00
Partition.c MdeModulePkg/PartitionDxe: Add already start check for child hanldes 2020-07-15 01:18:13 +00:00
Partition.h
PartitionDxe.inf
PartitionDxe.uni
PartitionDxeExtra.uni
Udf.c