fs/exec.c:__bprm_mm_init(): clean up error handling
authorLuiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Tue, 6 Jan 2009 22:40:44 +0000 (14:40 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:11 +0000 (15:59 -0800)
commiteaccbfa564e48c87626594511f42dc8c0ad2daae
tree9a23430bf4f82d4f3d26c9314d0149b14d0fab70
parentbca1033b092a6fab2ed00036e8a7f6e2df5d99a2
fs/exec.c:__bprm_mm_init(): clean up error handling

Untangle the error unwinding in this function, saving a test of local
variable `vma'.

Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/exec.c