Linus,
 The are currently two ways to get md/raid devices configured at boot
 time.
 AUTODETECT_RAID finds bits of raid arrays from partition types and
    automagically connected them together
 MD_BOOT allows bits of raid arrays to be explicitly described on the
    boot line.

 Currently, MD_BOOT is not effective unless AUTODETECT_RAID is also
 enabled as both are implemented by md_run_setup, and md_run_setup is
 only called ifdef CONFIG_AUTODETECT_RAID.
 This patch fixes this irregularity.

NeilBrown

(patch against test12-pre2, as were the previous few, but I forget to mention).


--- ./drivers/md/md.c   2000/11/29 04:22:13     1.2
+++ ./drivers/md/md.c   2000/11/29 04:49:29     1.3
@@ -3853,7 +3853,7 @@
 #endif
 
 __initcall(md_init);
-#ifdef CONFIG_AUTODETECT_RAID
+#if defined(CONFIG_AUTODETECT_RAID) || defined(CONFIG_MD_BOOT)
 __initcall(md_run_setup);
 #endif
 
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]

Reply via email to