diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2020-06-26 00:40:40 +0200 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2020-07-07 18:58:59 +0200 |
commit | 8c2f52663973e643c617663d826e2b0daa008b38 (patch) | |
tree | 21b301428622983383cb6d1b866223e0c4fbedfe /kernel/exit.c | |
parent | bpfilter: Take advantage of the facilities of struct pid (diff) | |
download | linux-8c2f52663973e643c617663d826e2b0daa008b38.tar.xz linux-8c2f52663973e643c617663d826e2b0daa008b38.zip |
umd: Remove exit_umh
The bpfilter code no longer uses the umd_info.cleanup callback. This
callback is what exit_umh exists to call. So remove exit_umh and all
of it's associated booking.
v1: https://lkml.kernel.org/r/87bll6dlte.fsf_-_@x220.int.ebiederm.org
v2: https://lkml.kernel.org/r/87y2o53abg.fsf_-_@x220.int.ebiederm.org
Link: https://lkml.kernel.org/r/20200702164140.4468-15-ebiederm@xmission.com
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Tested-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index dee246c0866f..39226a018ed7 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -63,7 +63,6 @@ #include <linux/random.h> #include <linux/rcuwait.h> #include <linux/compat.h> -#include <linux/usermode_driver.h> #include <linux/uaccess.h> #include <asm/unistd.h> @@ -805,8 +804,6 @@ void __noreturn do_exit(long code) exit_task_namespaces(tsk); exit_task_work(tsk); exit_thread(tsk); - if (group_dead) - exit_umh(tsk); /* * Flush inherited counters to the parent - before the parent |