diff options
| author | Andrew Morton <akpm@osdl.org> | 2006-12-08 05:39:49 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:29:03 -0500 |
| commit | 1ab8509a31187998615e6dd7f53cc02db5be594c (patch) | |
| tree | 47cf31b0389dcde3392bfcb50e5e509b8caa2ce8 | |
| parent | 329409aeda064c4aff00c51f837fcd3bbdaeeba6 (diff) | |
[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: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| -rw-r--r-- | lib/Kconfig.debug | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 1449ca1bf572..c24db7221b55 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
| @@ -415,7 +415,8 @@ config LKDTM | |||
| 415 | drivers/misc/lkdtm.c | 415 | drivers/misc/lkdtm.c |
| 416 | 416 | ||
| 417 | config FAULT_INJECTION | 417 | config FAULT_INJECTION |
| 418 | bool | 418 | bool "Fault-injection framework" |
| 419 | depends on DEBUG_KERNEL | ||
| 419 | select STACKTRACE | 420 | select STACKTRACE |
| 420 | select FRAME_POINTER | 421 | select FRAME_POINTER |
| 421 | help | 422 | help |
| @@ -423,31 +424,25 @@ config FAULT_INJECTION | |||
| 423 | For more details, see Documentation/fault-injection/. | 424 | For more details, see Documentation/fault-injection/. |
| 424 | 425 | ||
| 425 | config FAILSLAB | 426 | config FAILSLAB |
| 426 | bool "Fault-injection capabilitiy for kmalloc" | 427 | bool "Fault-injection capability for kmalloc" |
| 427 | depends on DEBUG_KERNEL | 428 | depends on FAULT_INJECTION |
| 428 | select FAULT_INJECTION | ||
| 429 | help | 429 | help |
| 430 | This option provides fault-injection capabilitiy for kmalloc. | 430 | Provide fault-injection capability for kmalloc. |
| 431 | 431 | ||
| 432 | config FAIL_PAGE_ALLOC | 432 | config FAIL_PAGE_ALLOC |
| 433 | bool "Fault-injection capabilitiy for alloc_pages()" | 433 | bool "Fault-injection capabilitiy for alloc_pages()" |
| 434 | depends on DEBUG_KERNEL | 434 | depends on FAULT_INJECTION |
| 435 | select FAULT_INJECTION | ||
| 436 | help | 435 | help |
| 437 | This option provides fault-injection capabilitiy for alloc_pages(). | 436 | Provide fault-injection capability for alloc_pages(). |
| 438 | 437 | ||
| 439 | config FAIL_MAKE_REQUEST | 438 | config FAIL_MAKE_REQUEST |
| 440 | bool "Fault-injection capabilitiy for disk IO" | 439 | bool "Fault-injection capabilitiy for disk IO" |
| 441 | depends on DEBUG_KERNEL | 440 | depends on FAULT_INJECTION |
| 442 | select FAULT_INJECTION | ||
| 443 | help | 441 | help |
| 444 | This option provides fault-injection capabilitiy to disk IO. | 442 | Provide fault-injection capability for disk IO. |
| 445 | 443 | ||
| 446 | config FAULT_INJECTION_DEBUG_FS | 444 | config FAULT_INJECTION_DEBUG_FS |
| 447 | bool "Debugfs entries for fault-injection capabilities" | 445 | bool "Debugfs entries for fault-injection capabilities" |
| 448 | depends on FAULT_INJECTION && SYSFS | 446 | depends on FAULT_INJECTION && SYSFS && DEBUG_FS |
| 449 | select DEBUG_FS | ||
| 450 | help | 447 | help |
| 451 | This option enable configuration of fault-injection capabilities via | 448 | Enable configuration of fault-injection capabilities via debugfs. |
| 452 | debugfs. | ||
| 453 | |||
