diff options
author | 2011-09-10 22:58:42 +0200 | |
---|---|---|
committer | 2011-09-10 22:58:42 +0200 | |
commit | 72787aa866bfa6bcbd259e7a39b2f9a2f412794e (patch) | |
tree | 1769d854a26f444875f7cdfd9982fe494a4cff71 /kernel/fork.c | |
parent | ARM: tegra: paz00: add clocks required for usb operation (diff) | |
parent | at91: USB-A9G20 C01 & C11 board support (diff) | |
download | wireguard-linux-72787aa866bfa6bcbd259e7a39b2f9a2f412794e.tar.xz wireguard-linux-72787aa866bfa6bcbd259e7a39b2f9a2f412794e.zip |
Merge branches 'tegra/board' and 'at91/board' into next/board
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index e7ceaca89609..8e6b6f4fb272 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -1111,6 +1111,7 @@ static struct task_struct *copy_process(unsigned long clone_flags, p->real_cred->user != INIT_USER) goto bad_fork_free; } + current->flags &= ~PF_NPROC_EXCEEDED; retval = copy_creds(p, clone_flags); if (retval < 0) |