]> git.baikalelectronics.ru Git - kernel.git/commit
exec: do not retry load_binary method if CONFIG_MODULES=n
authorTetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Tue, 26 Jul 2011 23:08:42 +0000 (16:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 23:49:44 +0000 (16:49 -0700)
commit0644645876bc18b04915676f0cca77ed06f68935
treed0b6a63dfb043822d28498eae9a89553765ce3fe
parent6c48b1d915d93b7bec365208f0345693b82ee04b
exec: do not retry load_binary method if CONFIG_MODULES=n

If CONFIG_MODULES=n, it makes no sense to retry the list of binary formats
handler because the list will not be modified by request_module().

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: Richard Weinberger <richard@nod.at>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/exec.c