diff options
author | Pranith K <pranithk@gluster.com> | 2011-03-10 02:18:22 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2011-03-10 08:09:30 -0800 |
commit | d23585307a0e333c9b1ff627df4c7e30b3642201 (patch) | |
tree | 0e900775fff91686474051cf55375966e7028eec /xlators/protocol/client | |
parent | 45fd0d904d11f07f8b523af2d1357f081e3c5dc1 (diff) |
rpc: Changes for handling unix domain sockets avoid race
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 1965 (need a cmd to get io-stat details)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1965
Diffstat (limited to 'xlators/protocol/client')
-rw-r--r-- | xlators/protocol/client/src/client.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xlators/protocol/client/src/client.c b/xlators/protocol/client/src/client.c index 51c35ef8c70..3ef38fe84d4 100644 --- a/xlators/protocol/client/src/client.c +++ b/xlators/protocol/client/src/client.c @@ -1771,8 +1771,7 @@ client_init_rpc (xlator_t *this) goto out; } - conf->rpc = rpc_clnt_new (&conf->rpc_conf, this->options, this->ctx, - this->name); + conf->rpc = rpc_clnt_new (this->options, this->ctx, this->name); if (!conf->rpc) goto out; |