]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC restructure rpc_clnt_setup_test_and_add_xprt
authorOlga Kornievskaia <olga.kornievskaia@gmail.com>
Mon, 25 Jul 2022 13:32:28 +0000 (09:32 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 25 Jul 2022 14:06:04 +0000 (10:06 -0400)
commitde2c41361e80f758e3b44dfc7f91720193ca9019
tree1aef754ef61b98fc84f0e82bc1db8e3584ca4761
parent817ceaa5fd5876e9fe61e74e1f9effcafd9f9e6d
SUNRPC restructure rpc_clnt_setup_test_and_add_xprt

In preparation for code re-use, pull out the part of the
rpc_clnt_setup_test_and_add_xprt() portion that sends a NULL rpc
and then calls a session trunking function into a helper function.

Re-organize the end of the function for code re-use.

Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/clnt.c