SUNRPC: Fix transport accounting when caller specifies an rpc_xprt
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 11 Jul 2019 20:33:12 +0000 (16:33 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 12 Jul 2019 17:14:54 +0000 (13:14 -0400)
commita101b043c44dfcb63bed7f29a675e9fa0259005e
treefee002167b713916d0eb068551a25911891660e6
parent347543e64082782379627cb21162cb859590f3c7
SUNRPC: Fix transport accounting when caller specifies an rpc_xprt

Ensure that we do the required accounting for the round robin queue
when the caller to rpc_init_task() has passed in a transport to be
used.

Reported-by: Olga Kornievskaia <aglo@umich.edu>
Reported-by: Neil Brown <neilb@suse.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/sunrpc/clnt.h
net/sunrpc/clnt.c
net/sunrpc/sched.c