aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/kmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/kmod.c b/kernel/kmod.c
index 6f99aead66c6..b6e5ca9c758a 100644
--- a/kernel/kmod.c
+++ b/kernel/kmod.c
@@ -225,7 +225,7 @@ static int ____call_usermodehelper(void *data)
225 /* Exec failed? */ 225 /* Exec failed? */
226fail: 226fail:
227 sub_info->retval = retval; 227 sub_info->retval = retval;
228 return 0; 228 do_exit(0);
229} 229}
230 230
231static int call_helper(void *data) 231static int call_helper(void *data)
@@ -292,7 +292,7 @@ static int wait_for_helper(void *data)
292 } 292 }
293 293
294 umh_complete(sub_info); 294 umh_complete(sub_info);
295 return 0; 295 do_exit(0);
296} 296}
297 297
298/* This is run by khelper thread */ 298/* This is run by khelper thread */