[PATCH 01/10] fault injection: fix a few documentation errors

From: Vegard Nossum
Date: Sun Oct 16 2016 - 11:56:35 EST


Signed-off-by: Vegard Nossum <vegard.nossum@xxxxxxxxxx>
---
Documentation/fault-injection/fault-injection.txt | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/fault-injection/fault-injection.txt b/Documentation/fault-injection/fault-injection.txt
index 415484f..2ef8531 100644
--- a/Documentation/fault-injection/fault-injection.txt
+++ b/Documentation/fault-injection/fault-injection.txt
@@ -102,15 +102,15 @@ configuration of fault-injection capabilities.
- /sys/kernel/debug/fail_page_alloc/ignore-gfp-highmem:

Format: { 'Y' | 'N' }
- default is 'N', setting it to 'Y' won't inject failures into
+ default is 'Y', setting it to 'N' will also inject failures into
highmem/user allocations.

- /sys/kernel/debug/failslab/ignore-gfp-wait:
- /sys/kernel/debug/fail_page_alloc/ignore-gfp-wait:

Format: { 'Y' | 'N' }
- default is 'N', setting it to 'Y' will inject failures
- only into non-sleep allocations (GFP_ATOMIC allocations).
+ default is 'Y', setting it to 'N' will also inject failures into
+ allocations that may sleep (non-GFP_ATOMIC allocations).

- /sys/kernel/debug/fail_page_alloc/min-order:

@@ -141,7 +141,7 @@ o #include <linux/fault-inject.h>

o define the fault attributes

- DECLARE_FAULT_INJECTION(name);
+ DECLARE_FAULT_ATTR(name);

Please see the definition of struct fault_attr in fault-inject.h
for details.
--
2.10.0.479.g221bd91