re-order partition type check
PATCH 1/1 re-order partition type check
The patch below re-orders the check for GPT partitions to be ahead of testing for msdos partitions. This is to conform with the EFI Spec, and follows how GNU Parted is also implemented.
fs/partitions/check.c Tue Jul 3 14:26:36 2001 renamed from fs/partitions/check.c~ Tue Jul 3 14:26:04 2001 +3 -3
@@ -46,6 +46,9 @@ #ifdef CONFIG_ACORN_PARTITION acorn_partition, #endif +#ifdef CONFIG_EFI_PARTITION + efi_partition, +#endif #ifdef CONFIG_MSDOS_PARTITION msdos_partition, #endif
@@ -72,9 +75,6 @@ #endif #ifdef CONFIG_IBM_PARTITION ibm_partition, -#endif -#ifdef CONFIG_EFI_PARTITION - efi_partition, #endif NULL };
Thanks,
Matt
--
Matt Domsch
Sr. Software Engineer
Dell Linux Solutions
www.dell.com/linux
#2 Linux Server provider with 17% in the US and 14% Worldwide (IDC)! #3 Unix provider with 18% in the US (Dataquest)!