kmod: introduce call_modprobe() helper
commit95b467ca30d2e56c08fbe541a02318470457cca7
authorOleg Nesterov <oleg@redhat.com>
Fri, 23 Mar 2012 22:02:49 +0000 (23 15:02 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 6 Mar 2013 03:24:28 +0000 (6 03:24 +0000)
tree8248fd54721faf7c89535368d69603cad6549c9c
parent9aa0f9b368807533afd246b0e2e3a72fae9c7c98
kmod: introduce call_modprobe() helper

commit 3e63a93b987685f02421e18b2aa452d20553a88b upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
kernel/kmod.c