ASoC: sh: fsi: add fsi_version() and removed meaningless version check
[deliverable/linux.git] / kernel / fork.c
index b9372a0bff18c2a042cb4ef7f6d6ea7b25a3583c..687a15d562433ee60c5b19bf02f2e8652c6e4338 100644 (file)
@@ -47,6 +47,7 @@
 #include <linux/audit.h>
 #include <linux/memcontrol.h>
 #include <linux/ftrace.h>
+#include <linux/proc_fs.h>
 #include <linux/profile.h>
 #include <linux/rmap.h>
 #include <linux/ksm.h>
@@ -1464,6 +1465,8 @@ bad_fork_cleanup_io:
        if (p->io_context)
                exit_io_context(p);
 bad_fork_cleanup_namespaces:
+       if (unlikely(clone_flags & CLONE_NEWPID))
+               pid_ns_release_proc(p->nsproxy->pid_ns);
        exit_task_namespaces(p);
 bad_fork_cleanup_mm:
        if (p->mm)
This page took 0.028507 seconds and 5 git commands to generate.