]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/linux/tracehook.h
Merge tag 'm68k-for-v5.3-tag2' of git://git.kernel.org/pub/scm/linux/kernel/git/geert...
[linux.git] / include / linux / tracehook.h
index 09d678433fc02ad787774775afb5101c9898a7a3..8446573cc6822f59d9fa541dfbb3be53f63f6679 100644 (file)
@@ -184,6 +184,13 @@ static inline void tracehook_notify_resume(struct pt_regs *regs)
        if (unlikely(current->task_works))
                task_work_run();
 
+#ifdef CONFIG_KEYS_REQUEST_CACHE
+       if (unlikely(current->cached_requested_key)) {
+               key_put(current->cached_requested_key);
+               current->cached_requested_key = NULL;
+       }
+#endif
+
        mem_cgroup_handle_over_high();
        blkcg_maybe_throttle_current();
 }