diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2014-03-24 11:58:59 +0800 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-03-30 10:47:36 -0400 |
commit | 83ddfebdd21da669918d7f9854fd592858625f4b (patch) | |
tree | 12af99c421f207cfa20f443ade38c1fd1a62f7b5 /include/linux/sunrpc/clnt.h | |
parent | 47f72efa8f32e8182cd4a70d5a9a6d07651093fc (diff) | |
download | blackbird-op-linux-83ddfebdd21da669918d7f9854fd592858625f4b.tar.gz blackbird-op-linux-83ddfebdd21da669918d7f9854fd592858625f4b.zip |
SUNRPC: New helper for creating client with rpc_xprt
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include/linux/sunrpc/clnt.h')
-rw-r--r-- | include/linux/sunrpc/clnt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sunrpc/clnt.h b/include/linux/sunrpc/clnt.h index 8af2804bab16..70736b98c721 100644 --- a/include/linux/sunrpc/clnt.h +++ b/include/linux/sunrpc/clnt.h @@ -130,6 +130,8 @@ struct rpc_create_args { #define RPC_CLNT_CREATE_NO_RETRANS_TIMEOUT (1UL << 9) struct rpc_clnt *rpc_create(struct rpc_create_args *args); +struct rpc_clnt *rpc_create_xprt(struct rpc_create_args *args, + struct rpc_xprt *xprt); struct rpc_clnt *rpc_bind_new_program(struct rpc_clnt *, const struct rpc_program *, u32); void rpc_task_reset_client(struct rpc_task *task, struct rpc_clnt *clnt); |