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)
commitb4edf8bd06916645b57df23a720b17cae4051c43
treed0b6a63dfb043822d28498eae9a89553765ce3fe
parent912193521b719fbfc2f16776febf5232fe8ba261
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