Re: [PATCH] raid: make RAID autodetect default a KConfig option

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alan Jenkins
Date: Tuesday, September 23, 2008 - 8:37 am

I noticed this Configure option is present even if BLK_DEV_MD=m.  In
this case the option does nothing, which is inconsistent with the help
text and generally odd :-).

Would you change it?

------

Hide RAID autodetect option if MD is compiled as a module.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>

diff --git a/drivers/md/Configure b/drivers/md/Configure
index 8e72c91..2281b50 100644
--- a/drivers/md/Configure
+++ b/drivers/md/Configure
@@ -32,7 +32,7 @@ config BLK_DEV_MD
 
 config MD_AUTODETECT
 	bool "Autodetect RAID arrays during kernel boot"
-	depends on BLK_DEV_MD
+	depends on BLK_DEV_MD=y
 	default y
 	---help---
 	  If you say Y here, then the kernel will try to autodetect raid

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] raid: make RAID autodetect default a KConfig o ..., Alan Jenkins, (Tue Sep 23, 8:37 am)