]> git.proxmox.com Git - mirror_edk2.git/commit
Revert "MdeModulePkg/PartitionDxe: Fix the incorrect LBA size in child ..."
authorZhichao Gao <zhichao.gao@intel.com>
Tue, 20 Oct 2020 01:38:04 +0000 (09:38 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 20 Oct 2020 06:12:12 +0000 (06:12 +0000)
commitf82b827c92f77eac8debdce6ef9689d156771871
treeeb74f893ac60c72a4dd725537324e93e39fb081a
parent29d14d3a30fdfbe017d39b759423832054280f10
Revert "MdeModulePkg/PartitionDxe: Fix the incorrect LBA size in child ..."

This reverts commit e0eacd7daa6f2e59de2b35a5dfe8bb4c38821e31.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3012

The patch to fix LBA size would cause a regression that make the
partition of CD image with media type other than NO_EMULATOR unobserved.

The patch used to fix the CD image's MBR table issue. The CD MBR
table would always be ignored because it would be handled by the
Eltorito partition handler first and never go into the MBR handler.
So directly revert it.

Cc: Ray Ni <ray.ni@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Tested-by: Gary Lin <glin@suse.com>
MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c