diff options
Diffstat (limited to 'lib/fault-inject.c')
-rw-r--r-- | lib/fault-inject.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/fault-inject.c b/lib/fault-inject.c index 0fabd12c39d7..b18fc2ff9ffe 100644 --- a/lib/fault-inject.c +++ b/lib/fault-inject.c | |||
@@ -72,9 +72,8 @@ static bool fail_stacktrace(struct fault_attr *attr) | |||
72 | trace.entries = entries; | 72 | trace.entries = entries; |
73 | trace.max_entries = depth; | 73 | trace.max_entries = depth; |
74 | trace.skip = 1; | 74 | trace.skip = 1; |
75 | trace.all_contexts = 0; | ||
76 | 75 | ||
77 | save_stack_trace(&trace, NULL); | 76 | save_stack_trace(&trace); |
78 | for (n = 0; n < trace.nr_entries; n++) { | 77 | for (n = 0; n < trace.nr_entries; n++) { |
79 | if (attr->reject_start <= entries[n] && | 78 | if (attr->reject_start <= entries[n] && |
80 | entries[n] < attr->reject_end) | 79 | entries[n] < attr->reject_end) |