diff options
Diffstat (limited to 'include/linux/tracehook.h')
-rw-r--r-- | include/linux/tracehook.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/tracehook.h b/include/linux/tracehook.h index 09d678433fc0..8446573cc682 100644 --- a/include/linux/tracehook.h +++ b/include/linux/tracehook.h | |||
@@ -184,6 +184,13 @@ static inline void tracehook_notify_resume(struct pt_regs *regs) | |||
184 | if (unlikely(current->task_works)) | 184 | if (unlikely(current->task_works)) |
185 | task_work_run(); | 185 | task_work_run(); |
186 | 186 | ||
187 | #ifdef CONFIG_KEYS_REQUEST_CACHE | ||
188 | if (unlikely(current->cached_requested_key)) { | ||
189 | key_put(current->cached_requested_key); | ||
190 | current->cached_requested_key = NULL; | ||
191 | } | ||
192 | #endif | ||
193 | |||
187 | mem_cgroup_handle_over_high(); | 194 | mem_cgroup_handle_over_high(); |
188 | blkcg_maybe_throttle_current(); | 195 | blkcg_maybe_throttle_current(); |
189 | } | 196 | } |