aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kmod.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/kmod.h')
-rw-r--r--include/linux/kmod.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/include/linux/kmod.h b/include/linux/kmod.h
index 7eebcf5d75f1..0555cc66a15b 100644
--- a/include/linux/kmod.h
+++ b/include/linux/kmod.h
@@ -67,9 +67,7 @@ struct subprocess_info {
67}; 67};
68 68
69extern int 69extern int
70call_usermodehelper_fns(char *path, char **argv, char **envp, int wait, 70call_usermodehelper(char *path, char **argv, char **envp, int wait);
71 int (*init)(struct subprocess_info *info, struct cred *new),
72 void (*cleanup)(struct subprocess_info *), void *data);
73 71
74extern struct subprocess_info * 72extern struct subprocess_info *
75call_usermodehelper_setup(char *path, char **argv, char **envp, gfp_t gfp_mask, 73call_usermodehelper_setup(char *path, char **argv, char **envp, gfp_t gfp_mask,
@@ -79,13 +77,6 @@ call_usermodehelper_setup(char *path, char **argv, char **envp, gfp_t gfp_mask,
79extern int 77extern int
80call_usermodehelper_exec(struct subprocess_info *info, int wait); 78call_usermodehelper_exec(struct subprocess_info *info, int wait);
81 79
82static inline int
83call_usermodehelper(char *path, char **argv, char **envp, int wait)
84{
85 return call_usermodehelper_fns(path, argv, envp, wait,
86 NULL, NULL, NULL);
87}
88
89extern struct ctl_table usermodehelper_table[]; 80extern struct ctl_table usermodehelper_table[];
90 81
91enum umh_disable_depth { 82enum umh_disable_depth {