]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/UDF: Fix creation of UDF logical partition
authorPaulo Alcantara <pcacjr@zytor.com>
Fri, 22 Sep 2017 18:11:32 +0000 (02:11 +0800)
committerStar Zeng <star.zeng@intel.com>
Mon, 25 Sep 2017 07:36:27 +0000 (15:36 +0800)
commitbaaa3cee1eafc044606ee9dc60ec091713f81b8b
tree70cbbdf356fb04c1288cd4ad8cefbd30723964ad
parent264d16fcbf7b51c8d03d56e21cbeb5933eeb29e1
MdeModulePkg/UDF: Fix creation of UDF logical partition

Do not reserve entire block device size for an UDF file system -
instead, reserve the appropriate space (UDF logical volume space) for
it.

Additionally, only create a logical partition for UDF logical volumes
that are currently supported by EDK2 UDF file system implementation. For
instance, an UDF volume with a single LVD and a single Physical (Type 1)
Partition will be supported.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Reported-by: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
Tested-by: Hao Wu <hao.a.wu@intel.com>
Build-tested-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Build-tested-by: Star Zeng <star.zeng@intel.com>
Build-tested-by: Paulo Alcantara <paulo@hp.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
MdeModulePkg/Universal/Disk/PartitionDxe/Udf.c
MdeModulePkg/Universal/Disk/UdfDxe/File.c
MdeModulePkg/Universal/Disk/UdfDxe/FileSystemOperations.c
MdeModulePkg/Universal/Disk/UdfDxe/Udf.c
MdeModulePkg/Universal/Disk/UdfDxe/Udf.h