aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 33ffb5bf0dbc..8a46ad52be8f 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1208,7 +1208,8 @@ bad_fork_cleanup_mm:
1208bad_fork_cleanup_signal: 1208bad_fork_cleanup_signal:
1209 exit_signal(p); 1209 exit_signal(p);
1210bad_fork_cleanup_sighand: 1210bad_fork_cleanup_sighand:
1211 exit_sighand(p); 1211 if (p->sighand)
1212 __exit_sighand(p);
1212bad_fork_cleanup_fs: 1213bad_fork_cleanup_fs:
1213 exit_fs(p); /* blocking */ 1214 exit_fs(p); /* blocking */
1214bad_fork_cleanup_files: 1215bad_fork_cleanup_files: