aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/sunrpc/clnt.h2
-rw-r--r--include/linux/sunrpc/xprtmultipath.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/sunrpc/clnt.h b/include/linux/sunrpc/clnt.h
index b069d6e2c3d6..35cc539e2921 100644
--- a/include/linux/sunrpc/clnt.h
+++ b/include/linux/sunrpc/clnt.h
@@ -202,5 +202,7 @@ const char *rpc_proc_name(const struct rpc_task *task);
202 202
203void rpc_clnt_xprt_switch_put(struct rpc_clnt *); 203void rpc_clnt_xprt_switch_put(struct rpc_clnt *);
204void rpc_clnt_xprt_switch_add_xprt(struct rpc_clnt *, struct rpc_xprt *); 204void rpc_clnt_xprt_switch_add_xprt(struct rpc_clnt *, struct rpc_xprt *);
205bool rpc_clnt_xprt_switch_has_addr(struct rpc_clnt *clnt,
206 const struct sockaddr *sap);
205#endif /* __KERNEL__ */ 207#endif /* __KERNEL__ */
206#endif /* _LINUX_SUNRPC_CLNT_H */ 208#endif /* _LINUX_SUNRPC_CLNT_H */
diff --git a/include/linux/sunrpc/xprtmultipath.h b/include/linux/sunrpc/xprtmultipath.h
index 5a9acffa41be..507418c1c69e 100644
--- a/include/linux/sunrpc/xprtmultipath.h
+++ b/include/linux/sunrpc/xprtmultipath.h
@@ -66,4 +66,6 @@ extern struct rpc_xprt *xprt_iter_xprt(struct rpc_xprt_iter *xpi);
66extern struct rpc_xprt *xprt_iter_get_xprt(struct rpc_xprt_iter *xpi); 66extern struct rpc_xprt *xprt_iter_get_xprt(struct rpc_xprt_iter *xpi);
67extern struct rpc_xprt *xprt_iter_get_next(struct rpc_xprt_iter *xpi); 67extern struct rpc_xprt *xprt_iter_get_next(struct rpc_xprt_iter *xpi);
68 68
69extern bool rpc_xprt_switch_has_addr(struct rpc_xprt_switch *xps,
70 const struct sockaddr *sap);
69#endif 71#endif