public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
To: Arjan van de Ven <arjan@infradead.org>
Cc: neilb@suse.de, linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] raid: make RAID autodetect default a KConfig option
Date: Tue, 23 Sep 2008 16:37:38 +0100	[thread overview]
Message-ID: <48D90D42.9070401@tuffmail.co.uk> (raw)

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


             reply	other threads:[~2008-09-23 15:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-23 15:37 Alan Jenkins [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-09-21 22:45 [PATCH] raid: make RAID autodetect default a KConfig option Arjan van de Ven
2008-09-22  8:27 ` Ingo Molnar
2008-09-23  3:45   ` Neil Brown
2008-09-23  3:58     ` Arjan van de Ven
2008-09-23  9:15       ` Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48D90D42.9070401@tuffmail.co.uk \
    --to=alan-jenkins@tuffmail.co.uk \
    --cc=arjan@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox