]> git.baikalelectronics.ru Git - kernel.git/commit
kernel/fork.c: check error and return early
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>
Tue, 6 Feb 2018 23:39:30 +0000 (15:39 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 7 Feb 2018 02:32:45 +0000 (18:32 -0800)
commitdfb3fe323b38301aa20e050848eb73786bb0e6b6
tree1cfbf2c839c01f67f0de84baf189ffb1a722ad22
parent822ad6de46ca32233858ffe21e74beead02a68ba
kernel/fork.c: check error and return early

Thus reducing one indentation level while maintaining the same rationale.

Link: http://lkml.kernel.org/r/20171117002929.5155-1-marcos.souza.org@gmail.com
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/fork.c