commit | 1b63a75180c6c65c71655c250a4e6b578ba7d1c0 | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Fri Sep 14 17:23:52 2012 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Mon Oct 01 15:32:07 2012 -0700 |
tree | 85743d02287e488622cf0504281973b455af8387 | |
parent | 632f0d0503accb8ab749a1165af99d344579c37b [diff] |
SUNRPC: Refactor rpc_clone_client() rpc_clone_client() does most of the same tasks as rpc_new_client(), so there is an opportunity for code re-use. Create a generic helper that makes it easy to clone an RPC client while replacing any of the clnt's parameters. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>