SUNRPC: Add a helper to apply a function to all the rpc_clnt's transports
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 31 Jan 2016 01:39:19 +0000 (20:39 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 5 Feb 2016 23:48:55 +0000 (18:48 -0500)
commit3227886c6500e76c17f3b864ff9b7dd84f636a99
treedec105f54a26d053cd9ba3ef0a233abd1b119a3d
parent9d61498d5f6cde68a708781bf2cd33cae21121dc
SUNRPC: Add a helper to apply a function to all the rpc_clnt's transports

Add a helper for tasks that require us to apply a function to all the
transports in an rpc_clnt.
An example of a usecase would be BIND_CONN_TO_SESSION, where we want
to send one RPC call down each transport.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
include/linux/sunrpc/clnt.h
net/sunrpc/clnt.c