]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/fork.c
Merge commit 'remotes/tip/x86/paravirt' into x86/untangle2
[linux-2.6-omap-h63xx.git] / kernel / fork.c
index 99309df985bf404a5f94aae5b86df6581d19bd2c..c078438ba6fc1099492a5aba32b8e0eecd335e4a 100644 (file)
@@ -1010,6 +1010,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
         * triggers too late. This doesn't hurt, the check is only there
         * to stop root fork bombs.
         */
+       retval = -EAGAIN;
        if (nr_threads >= max_threads)
                goto bad_fork_cleanup_count;