Skip to content

Commit

Permalink
[PATCH] fault-injection Kconfig cleanup
Browse files Browse the repository at this point in the history
- 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 <[email protected]>
Cc: Don Mullis <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Dec 8, 2006
1 parent 329409a commit 1ab8509
Showing 1 changed file with 11 additions and 16 deletions.
27 changes: 11 additions & 16 deletions lib/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -415,39 +415,34 @@ config LKDTM
drivers/misc/lkdtm.c

config FAULT_INJECTION
bool
bool "Fault-injection framework"
depends on DEBUG_KERNEL
select STACKTRACE
select FRAME_POINTER
help
Provide fault-injection framework.
For more details, see Documentation/fault-injection/.

config FAILSLAB
bool "Fault-injection capabilitiy for kmalloc"
depends on DEBUG_KERNEL
select FAULT_INJECTION
bool "Fault-injection capability for kmalloc"
depends on FAULT_INJECTION
help
This option provides fault-injection capabilitiy for kmalloc.
Provide fault-injection capability for kmalloc.

config FAIL_PAGE_ALLOC
bool "Fault-injection capabilitiy for alloc_pages()"
depends on DEBUG_KERNEL
select FAULT_INJECTION
depends on FAULT_INJECTION
help
This option provides fault-injection capabilitiy for alloc_pages().
Provide fault-injection capability for alloc_pages().

config FAIL_MAKE_REQUEST
bool "Fault-injection capabilitiy for disk IO"
depends on DEBUG_KERNEL
select FAULT_INJECTION
depends on FAULT_INJECTION
help
This option provides fault-injection capabilitiy to disk IO.
Provide fault-injection capability for disk IO.

config FAULT_INJECTION_DEBUG_FS
bool "Debugfs entries for fault-injection capabilities"
depends on FAULT_INJECTION && SYSFS
select DEBUG_FS
depends on FAULT_INJECTION && SYSFS && DEBUG_FS
help
This option enable configuration of fault-injection capabilities via
debugfs.

Enable configuration of fault-injection capabilities via debugfs.

0 comments on commit 1ab8509

Please sign in to comment.