]> www.infradead.org Git - users/jedix/linux-maple.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)
committerKirtikar Kashyap <kirtikar.kashyap@oracle.com>
Thu, 13 Jul 2017 20:04:57 +0000 (13:04 -0700)
commit0bc9402329824ae06d8a26a73b60d21cdac3e6f2
tree3cce284158233ebaf8f7952e7cb98e76d73cf229
parent6273f84a784664cd63888a670305fccc239a7556
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>
(cherry picked from commit 9e0d87680d689f1758185851c3da6eafb16e71e1)

Orabug: 26143102
CVE-2017-9059

Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
 Conflicts:
net/sunrpc/svc.c
net/sunrpc/svc.c