We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7ebbbb commit 4acb9e5Copy full SHA for 4acb9e5
lib/fault-inject.c
@@ -71,7 +71,7 @@ static bool fail_stacktrace(struct fault_attr *attr)
71
int n, nr_entries;
72
bool found = (attr->require_start == 0 && attr->require_end == ULONG_MAX);
73
74
- if (depth == 0)
+ if (depth == 0 || (found && !attr->reject_start && !attr->reject_end))
75
return found;
76
77
nr_entries = stack_trace_save(entries, depth, 1);
0 commit comments