From: Andrew Morton Date: Fri, 8 Dec 2006 10:39:49 +0000 (-0800) Subject: [PATCH] fault-injection Kconfig cleanup X-Git-Tag: v2.6.20-rc1~34^2~129 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ab8509a31187998615e6dd7f53cc02db5be594c;p=linux-2.6 [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 Cc: Don Mullis Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 1449ca1bf5..c24db7221b 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -415,7 +415,8 @@ config LKDTM drivers/misc/lkdtm.c config FAULT_INJECTION - bool + bool "Fault-injection framework" + depends on DEBUG_KERNEL select STACKTRACE select FRAME_POINTER help @@ -423,31 +424,25 @@ config FAULT_INJECTION 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.