Commit 1ab8509a authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] fault-injection Kconfig cleanup

- Fix some spelling and grammatical errors

- Make the Kconfig menu more conventional.  First you select
  fault-injection, then under that you select particular clients of it.

Cc: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Don Mullis <dwm@meer.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 329409ae
...@@ -415,7 +415,8 @@ config LKDTM ...@@ -415,7 +415,8 @@ config LKDTM
drivers/misc/lkdtm.c drivers/misc/lkdtm.c
config FAULT_INJECTION config FAULT_INJECTION
bool bool "Fault-injection framework"
depends on DEBUG_KERNEL
select STACKTRACE select STACKTRACE
select FRAME_POINTER select FRAME_POINTER
help help
...@@ -423,31 +424,25 @@ config FAULT_INJECTION ...@@ -423,31 +424,25 @@ config FAULT_INJECTION
For more details, see Documentation/fault-injection/. For more details, see Documentation/fault-injection/.
config FAILSLAB config FAILSLAB
bool "Fault-injection capabilitiy for kmalloc" bool "Fault-injection capability for kmalloc"
depends on DEBUG_KERNEL depends on FAULT_INJECTION
select FAULT_INJECTION
help help
This option provides fault-injection capabilitiy for kmalloc. Provide fault-injection capability for kmalloc.
config FAIL_PAGE_ALLOC config FAIL_PAGE_ALLOC
bool "Fault-injection capabilitiy for alloc_pages()" bool "Fault-injection capabilitiy for alloc_pages()"
depends on DEBUG_KERNEL depends on FAULT_INJECTION
select FAULT_INJECTION
help help
This option provides fault-injection capabilitiy for alloc_pages(). Provide fault-injection capability for alloc_pages().
config FAIL_MAKE_REQUEST config FAIL_MAKE_REQUEST
bool "Fault-injection capabilitiy for disk IO" bool "Fault-injection capabilitiy for disk IO"
depends on DEBUG_KERNEL depends on FAULT_INJECTION
select FAULT_INJECTION
help help
This option provides fault-injection capabilitiy to disk IO. Provide fault-injection capability for disk IO.
config FAULT_INJECTION_DEBUG_FS config FAULT_INJECTION_DEBUG_FS
bool "Debugfs entries for fault-injection capabilities" bool "Debugfs entries for fault-injection capabilities"
depends on FAULT_INJECTION && SYSFS depends on FAULT_INJECTION && SYSFS && DEBUG_FS
select DEBUG_FS
help help
This option enable configuration of fault-injection capabilities via Enable configuration of fault-injection capabilities via debugfs.
debugfs.
Markdown is supported
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