kmod: introduce call_modprobe() helper
authorOleg Nesterov <oleg@redhat.com>
Fri, 23 Mar 2012 22:02:49 +0000 (15:02 -0700)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 2 Apr 2012 20:24:13 +0000 (13:24 -0700)
commit0257027bf008b993a00d1c0c5b1aec484ff5db36
treede8df71ec5b4a78fc94442a6e4bb9348c83b069e
parent61b78ce2fc982240c1220c10ec43d7bb0cf33b2a
kmod: introduce call_modprobe() helper

BugLink: http://bugs.launchpad.net/bugs/963685

No functional changes.  Move the call_usermodehelper code from
__request_module() into the new simple helper, call_modprobe().

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Tejun Heo <tj@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 3e63a93b987685f02421e18b2aa452d20553a88b)

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
kernel/kmod.c