diff options
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/svc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index 03a9f1a9e75c..5a32cb7c4bb4 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c | |||
@@ -434,7 +434,7 @@ EXPORT_SYMBOL(svc_create); | |||
434 | struct svc_serv * | 434 | struct svc_serv * |
435 | svc_create_pooled(struct svc_program *prog, unsigned int bufsize, | 435 | svc_create_pooled(struct svc_program *prog, unsigned int bufsize, |
436 | void (*shutdown)(struct svc_serv *serv), | 436 | void (*shutdown)(struct svc_serv *serv), |
437 | svc_thread_fn func, int sig, struct module *mod) | 437 | svc_thread_fn func, struct module *mod) |
438 | { | 438 | { |
439 | struct svc_serv *serv; | 439 | struct svc_serv *serv; |
440 | unsigned int npools = svc_pool_map_get(); | 440 | unsigned int npools = svc_pool_map_get(); |
@@ -443,7 +443,6 @@ svc_create_pooled(struct svc_program *prog, unsigned int bufsize, | |||
443 | 443 | ||
444 | if (serv != NULL) { | 444 | if (serv != NULL) { |
445 | serv->sv_function = func; | 445 | serv->sv_function = func; |
446 | serv->sv_kill_signal = sig; | ||
447 | serv->sv_module = mod; | 446 | serv->sv_module = mod; |
448 | } | 447 | } |
449 | 448 | ||
@@ -683,7 +682,7 @@ svc_set_num_threads(struct svc_serv *serv, struct svc_pool *pool, int nrservs) | |||
683 | /* destroy old threads */ | 682 | /* destroy old threads */ |
684 | while (nrservs < 0 && | 683 | while (nrservs < 0 && |
685 | (task = choose_victim(serv, pool, &state)) != NULL) { | 684 | (task = choose_victim(serv, pool, &state)) != NULL) { |
686 | send_sig(serv->sv_kill_signal, task, 1); | 685 | send_sig(SIGINT, task, 1); |
687 | nrservs++; | 686 | nrservs++; |
688 | } | 687 | } |
689 | 688 | ||