]> git.baikalelectronics.ru Git - kernel.git/commit
kernel/pid.c: reenable interrupts when alloc_pid() fails because init has exited
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 12 Feb 2013 21:46:23 +0000 (13:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 12 Feb 2013 22:34:00 +0000 (14:34 -0800)
commit5859e386b930bcb062caac243dbca713ceeb020e
tree9cd88fc22e8f5eb8250fbd27466b526f57f8a3d4
parent73c74d55050a7deb243c5c93d1aec7eb74888b64
kernel/pid.c: reenable interrupts when alloc_pid() fails because init has exited

We're forgetting to reenable local interrupts on an error path.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Reported-by: Josh Boyer <jwboyer@redhat.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/pid.c