]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: discard svo_setup and rename svc_set_num_threads_sync()
authorNeilBrown <neilb@suse.de>
Mon, 29 Nov 2021 04:51:25 +0000 (15:51 +1100)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 13 Dec 2021 18:42:53 +0000 (13:42 -0500)
commit6d70604b02d7c8ec260fe197a70c2a989ef539de
tree78057398c701a93eb8e574a31a2b6cb4fc35e8e6
parent0205044eea662bad98a8a7f8b3e85aea49f668e2
SUNRPC: discard svo_setup and rename svc_set_num_threads_sync()

The ->svo_setup callback serves no purpose.  It is always called from
within the same module that chooses which callback is needed.  So
discard it and call the relevant function directly.

Now that svc_set_num_threads() is no longer used remove it and rename
svc_set_num_threads_sync() to remove the "_sync" suffix.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfs/callback.c
fs/nfsd/nfssvc.c
include/linux/sunrpc/svc.h
net/sunrpc/svc.c