diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fault-inject.h | 2 | ||||
-rw-r--r-- | include/linux/sched.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/fault-inject.h b/include/linux/fault-inject.h index 4df4902bc8d8..a525f9b9f015 100644 --- a/include/linux/fault-inject.h +++ b/include/linux/fault-inject.h | |||
@@ -17,6 +17,7 @@ struct fault_attr { | |||
17 | atomic_t times; | 17 | atomic_t times; |
18 | atomic_t space; | 18 | atomic_t space; |
19 | unsigned long verbose; | 19 | unsigned long verbose; |
20 | u32 task_filter; | ||
20 | 21 | ||
21 | unsigned long count; | 22 | unsigned long count; |
22 | 23 | ||
@@ -30,6 +31,7 @@ struct fault_attr { | |||
30 | struct dentry *times_file; | 31 | struct dentry *times_file; |
31 | struct dentry *space_file; | 32 | struct dentry *space_file; |
32 | struct dentry *verbose_file; | 33 | struct dentry *verbose_file; |
34 | struct dentry *task_filter_file; | ||
33 | } dentries; | 35 | } dentries; |
34 | 36 | ||
35 | #endif | 37 | #endif |
diff --git a/include/linux/sched.h b/include/linux/sched.h index f0317edea141..ad9c46071ff8 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1045,6 +1045,9 @@ struct task_struct { | |||
1045 | #ifdef CONFIG_TASK_DELAY_ACCT | 1045 | #ifdef CONFIG_TASK_DELAY_ACCT |
1046 | struct task_delay_info *delays; | 1046 | struct task_delay_info *delays; |
1047 | #endif | 1047 | #endif |
1048 | #ifdef CONFIG_FAULT_INJECTION | ||
1049 | int make_it_fail; | ||
1050 | #endif | ||
1048 | }; | 1051 | }; |
1049 | 1052 | ||
1050 | static inline pid_t process_group(struct task_struct *tsk) | 1053 | static inline pid_t process_group(struct task_struct *tsk) |