* [Linux-ia64] [PATCH] fix RAID autodetect on GPT-partitioned drives
@ 2001-06-01 16:12 Bill Nottingham
0 siblings, 0 replies; only message in thread
From: Bill Nottingham @ 2001-06-01 16:12 UTC (permalink / raw)
To: linux-ia64
[-- Attachment #1: Type: text/plain, Size: 164 bytes --]
The attached fixes RAID autodetection on GPT-partitioned drives;
the code was never actually compiled before because
CONFIG_AUTODETECT_RAID is a dead symbol.
Bill
[-- Attachment #2: linux-2.4.3-efi-raid.patch --]
[-- Type: text/plain, Size: 832 bytes --]
--- linux/fs/partitions/efi.c.foo Fri Jun 1 11:13:34 2001
+++ linux/fs/partitions/efi.c Fri Jun 1 11:13:53 2001
@@ -61,7 +61,7 @@
#include "check.h"
#include "efi.h"
-#if CONFIG_BLK_DEV_MD && CONFIG_AUTODETECT_RAID
+#if CONFIG_BLK_DEV_MD
extern void md_autodetect_dev(kdev_t dev);
#endif
@@ -502,7 +502,7 @@
u32 i, nummade=0;
efi_guid_t unusedGuid = UNUSED_ENTRY_GUID;
-#if CONFIG_BLK_DEV_MD && CONFIG_AUTODETECT_RAID
+#if CONFIG_BLK_DEV_MD
efi_guid_t raidGuid = PARTITION_LINUX_RAID_GUID;
#endif
@@ -525,7 +525,7 @@
(ptes[i].EndingLBA-ptes[i].StartingLBA + 1));
/* If there's this is a RAID volume, tell md */
-#if CONFIG_BLK_DEV_MD && CONFIG_AUTODETECT_RAID
+#if CONFIG_BLK_DEV_MD
if (!efi_guidcmp(raidGuid, ptes[i].PartitionTypeGuid)) {
md_autodetect_dev(MKDEV(MAJOR(dev),nextminor));
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-06-01 16:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-01 16:12 [Linux-ia64] [PATCH] fix RAID autodetect on GPT-partitioned drives Bill Nottingham
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.