]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit761adf7adf8bbac6dd25830574b80890555c3098
treea43000376a697f178ac495726db01756c0b027e5
parent5d64d053fb36350f2001c26f52e5b8019d388852
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