kmod: convert two call sites to call_usermodehelper_fns()
authorBoaz Harrosh <bharrosh@panasas.com>
Thu, 31 May 2012 23:26:15 +0000 (16:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 1 Jun 2012 00:49:28 +0000 (17:49 -0700)
commit81ab6e7b26b453a795d46f2616ed0e31d97f05b9
treea8d50eb5b35ad93b793450bfef4d90df34494a2c
parentae3cef7300e9fddc35ad251dd5f27c5b88c8594a
kmod: convert two call sites to call_usermodehelper_fns()

Both kernel/sys.c && security/keys/request_key.c where inlining the exact
same code as call_usermodehelper_fns(); So simply convert these sites to
directly use call_usermodehelper_fns().

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/sys.c
security/keys/request_key.c