summaryrefslogtreecommitdiffstats
path: root/include/linux/fault-inject.h
diff options
context:
space:
mode:
authorDon Mullis <dwm@meer.net>2006-12-08 02:39:51 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 08:29:03 -0800
commit08b3df2d16cbebf7d72c09dcbc071696c14d07e3 (patch)
tree2cc0baeda87e24d9839845c0d34cd068453b1518 /include/linux/fault-inject.h
parent5d0ffa2b84e6f0fdc5bf96c0de6178f3d2779544 (diff)
[PATCH] fault-injection: Use bool-true-false throughout
Use bool-true-false throughout. Signed-off-by: Don Mullis <dwm@meer.net> Cc: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/fault-inject.h')
-rw-r--r--include/linux/fault-inject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fault-inject.h b/include/linux/fault-inject.h
index 9bb584e8939..c77067916b7 100644
--- a/include/linux/fault-inject.h
+++ b/include/linux/fault-inject.h
@@ -57,7 +57,7 @@ struct fault_attr {
#define DECLARE_FAULT_ATTR(name) struct fault_attr name = FAULT_ATTR_INITIALIZER
int setup_fault_attr(struct fault_attr *attr, char *str);
void should_fail_srandom(unsigned long entropy);
-int should_fail(struct fault_attr *attr, ssize_t size);
+bool should_fail(struct fault_attr *attr, ssize_t size);
#ifdef CONFIG_FAULT_INJECTION_DEBUG_FS