lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <48D90D42.9070401@tuffmail.co.uk>
Date:	Tue, 23 Sep 2008 16:37:38 +0100
From:	Alan Jenkins <alan-jenkins@...fmail.co.uk>
To:	Arjan van de Ven <arjan@...radead.org>
CC:	neilb@...e.de, linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] raid: make RAID autodetect default a KConfig option

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@...fmail.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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ