From: Al Viro Date: Wed, 10 Oct 2012 23:57:26 +0000 (-0400) Subject: make sure that we always have a return path from kernel_execve() X-Git-Tag: v3.7-rc1~31^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6b2123802d2b7eee8c62cd0ebd73e8636cbb068;p=pandora-kernel.git make sure that we always have a return path from kernel_execve() The only place where kernel_execve() is called without a way to return to the caller of kernel_thread() callback is kernel_post(). Reorganize kernel_init()/kernel_post() - instead of the former calling the latter in the end (and getting freed by it), have the latter *begin* with calling the former (and turn the latter into kernel_thread() callback, of course). Signed-off-by: Al Viro --- Reading git-diff-tree failed