summaryrefslogtreecommitdiff
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2021-01-26 15:35:13 +0100
committerLinus Walleij <linus.walleij@linaro.org>2021-01-26 15:35:13 +0100
commitb4478a080673958aa8b35d8de46ba7589c8fcc47 (patch)
treec896b8272e0aad398e99ed98231775b7b474dd02 /kernel/exit.c
parent3bbf9b89592d18c391eafd7a5e0e7429ae2dc767 (diff)
parente71ba9452f0b5b2e8dc8aa5445198cd9214a6a62 (diff)
Merge tag 'v5.11-rc2' into devel
Linux 5.11-rc2
Diffstat (limited to 'kernel/exit.c')
-rw-r--r--kernel/exit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index 3594291a8542..04029e35e69a 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -63,6 +63,7 @@
#include <linux/random.h>
#include <linux/rcuwait.h>
#include <linux/compat.h>
+#include <linux/io_uring.h>
#include <linux/uaccess.h>
#include <asm/unistd.h>
@@ -776,6 +777,7 @@ void __noreturn do_exit(long code)
schedule();
}
+ io_uring_files_cancel(tsk->files);
exit_signals(tsk); /* sets PF_EXITING */
/* sync mm's RSS info before statistics gathering */