summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MdeModulePkg/Universal/Disk/PartitionDxe/Udf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/Disk/PartitionDxe/Udf.c b/MdeModulePkg/Universal/Disk/PartitionDxe/Udf.c
index e46cf1d4f4..7856b5dfc1 100644
--- a/MdeModulePkg/Universal/Disk/PartitionDxe/Udf.c
+++ b/MdeModulePkg/Universal/Disk/PartitionDxe/Udf.c
@@ -261,8 +261,7 @@ PartitionInstallUdfChildHandles (
Media->BlockSize, // Divisor
&RemainderByMediaBlockSize // Remainder
);
- if (RemainderByMediaBlockSize != 0 ||
- Media->BlockSize > UDF_LOGICAL_SECTOR_SIZE) {
+ if (RemainderByMediaBlockSize != 0) {
return EFI_NOT_FOUND;
}