docs: fault-injection: fix defaults
authorDylan Yudaken <dylany@fb.com>
Tue, 5 Apr 2022 09:54:14 +0000 (02:54 -0700)
committerJonathan Corbet <corbet@lwn.net>
Sat, 16 Apr 2022 08:46:44 +0000 (02:46 -0600)
commitbad3fbb2568abf8a9744720c5ef3a5ffc97531c9
treec799789d302a8ee7a87e468ffc09d490c56d4c4c
parente01159c71394f4137aff1bcb75402bec7754dc1c
docs: fault-injection: fix defaults

ignore-gfp-wait and ignore-gfp-highmem defaults are actually true (Y) in
both failslab and fail_page_alloc, not false as the docs suggest. See
page_alloc.c:3762 and failslab.c:13

At the same time use 'Y' instead of '1' in the example scripts just for
consistency. (though 1 would work)

Signed-off-by: Dylan Yudaken <dylany@fb.com>
Reviewed-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/fault-injection/fault-injection.rst