SUNRPC: Refactor svc_set_num_threads()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 26 Apr 2017 15:55:26 +0000 (11:55 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 27 Apr 2017 21:59:58 +0000 (17:59 -0400)
commit9e0d87680d689f1758185851c3da6eafb16e71e1
treea43000376a697f178ac495726db01756c0b027e5
parentdf807fffaabde625fa9adb82e3e5b88cdaa5709a
SUNRPC: Refactor svc_set_num_threads()

Refactor to separate out the functions of starting and stopping threads
so that they can be used in other helpers.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Tested-and-reviewed-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svc.c