Merge branches 'timers/clockevents', 'timers/hpet', 'timers/hrtimers' and 'timers...
[pandora-kernel.git] / kernel / fork.c
index e8e854a..bb5fe56 100644 (file)
@@ -1006,6 +1006,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;