Commit afd44034 authored by Jan Engelhardt's avatar Jan Engelhardt Committed by Linus Torvalds
Browse files

Use menuconfig objects II - MD



Change Kconfig objects from "menu, config" into "menuconfig" so
that the user can disable the whole feature without having to
enter the menu first.
Signed-off-by: default avatarJan Engelhardt <jengelh@gmx.de>
Acked-by: default avatarNeil Brown <neilb@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0c4a59fe
...@@ -2,19 +2,17 @@ ...@@ -2,19 +2,17 @@
# Block device driver configuration # Block device driver configuration
# #
if BLOCK menuconfig MD
menu "Multi-device support (RAID and LVM)"
config MD
bool "Multiple devices driver support (RAID and LVM)" bool "Multiple devices driver support (RAID and LVM)"
depends on BLOCK
help help
Support multiple physical spindles through a single logical device. Support multiple physical spindles through a single logical device.
Required for RAID and logical volume management. Required for RAID and logical volume management.
if MD
config BLK_DEV_MD config BLK_DEV_MD
tristate "RAID support" tristate "RAID support"
depends on MD
---help--- ---help---
This driver lets you combine several hard disk partitions into one This driver lets you combine several hard disk partitions into one
logical block device. This can be used to simply append one logical block device. This can be used to simply append one
...@@ -191,7 +189,6 @@ config MD_FAULTY ...@@ -191,7 +189,6 @@ config MD_FAULTY
config BLK_DEV_DM config BLK_DEV_DM
tristate "Device mapper support" tristate "Device mapper support"
depends on MD
---help--- ---help---
Device-mapper is a low level volume manager. It works by allowing Device-mapper is a low level volume manager. It works by allowing
people to specify mappings for ranges of logical sectors. Various people to specify mappings for ranges of logical sectors. Various
...@@ -279,6 +276,4 @@ config DM_DELAY ...@@ -279,6 +276,4 @@ config DM_DELAY
If unsure, say N. If unsure, say N.
endmenu endif # MD
endif
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment