summaryrefslogtreecommitdiffstats
path: root/kernel/kmod.c
diff options
context:
space:
mode:
authorBoaz Harrosh <bharrosh@panasas.com>2012-06-01 01:26:14 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2012-06-01 02:49:28 +0200
commitae3cef7300e9fddc35ad251dd5f27c5b88c8594a (patch)
treed1f057eaeac5234e9056b3e9fa186c1bd7873bc5 /kernel/kmod.c
parentfat: use fat_msg_ratelimit() in fat__get_entry() (diff)
downloadlinux-ae3cef7300e9fddc35ad251dd5f27c5b88c8594a.tar.xz
linux-ae3cef7300e9fddc35ad251dd5f27c5b88c8594a.zip
kmod: unexport call_usermodehelper_freeinfo()
call_usermodehelper_freeinfo() is not used outside of kmod.c. So unexport it, and make it static to kmod.c 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>
Diffstat (limited to 'kernel/kmod.c')
-rw-r--r--kernel/kmod.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/kmod.c b/kernel/kmod.c
index 05698a7415fe..21a0f8e99102 100644
--- a/kernel/kmod.c
+++ b/kernel/kmod.c
@@ -221,13 +221,12 @@ fail:
return 0;
}
-void call_usermodehelper_freeinfo(struct subprocess_info *info)
+static void call_usermodehelper_freeinfo(struct subprocess_info *info)
{
if (info->cleanup)
(*info->cleanup)(info);
kfree(info);
}
-EXPORT_SYMBOL(call_usermodehelper_freeinfo);
static void umh_complete(struct subprocess_info *sub_info)
{