diff options
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 7f2683a10ac..256ce8c2ebc 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -57,6 +57,8 @@ | |||
57 | #include <asm/mmu_context.h> | 57 | #include <asm/mmu_context.h> |
58 | #include "cred-internals.h" | 58 | #include "cred-internals.h" |
59 | 59 | ||
60 | extern void exit_od_table(struct task_struct *t); | ||
61 | |||
60 | static void exit_mm(struct task_struct * tsk); | 62 | static void exit_mm(struct task_struct * tsk); |
61 | 63 | ||
62 | static void __unhash_process(struct task_struct *p) | 64 | static void __unhash_process(struct task_struct *p) |
@@ -968,6 +970,8 @@ NORET_TYPE void do_exit(long code) | |||
968 | if (unlikely(tsk->audit_context)) | 970 | if (unlikely(tsk->audit_context)) |
969 | audit_free(tsk); | 971 | audit_free(tsk); |
970 | 972 | ||
973 | exit_od_table(tsk); | ||
974 | |||
971 | tsk->exit_code = code; | 975 | tsk->exit_code = code; |
972 | taskstats_exit(tsk, group_dead); | 976 | taskstats_exit(tsk, group_dead); |
973 | 977 | ||