summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorOlga Kornievskaia <olga.kornievskaia@gmail.com>2022-07-25 15:32:29 +0200
committerTrond Myklebust <trond.myklebust@hammerspace.com>2022-07-25 16:06:04 +0200
commit273d6aed9e5a1859dda15256f45561315c3d237a (patch)
tree7b543e1317d20782811ec8698f30afffc3112e98 /net
parentSUNRPC restructure rpc_clnt_setup_test_and_add_xprt (diff)
downloadlinux-273d6aed9e5a1859dda15256f45561315c3d237a.tar.xz
linux-273d6aed9e5a1859dda15256f45561315c3d237a.zip
SUNRPC export xprt_iter_rewind function
Make xprt_iter_rewind callable outside of xprtmultipath.c Signed-off-by: Olga Kornievskaia <kolga@netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/xprtmultipath.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sunrpc/xprtmultipath.c b/net/sunrpc/xprtmultipath.c
index 55da01730311..685db598acbe 100644
--- a/net/sunrpc/xprtmultipath.c
+++ b/net/sunrpc/xprtmultipath.c
@@ -481,7 +481,6 @@ struct rpc_xprt *xprt_iter_next_entry_offline(struct rpc_xprt_iter *xpi)
* Resets xpi to ensure that it points to the first entry in the list
* of transports.
*/
-static
void xprt_iter_rewind(struct rpc_xprt_iter *xpi)
{
rcu_read_lock();