summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd.c
diff options
context:
space:
mode:
authorkrishna <krishna@gluster.com>2011-08-04 15:51:28 +0530
committerVijay Bellur <vijay@gluster.com>2011-08-09 02:12:03 -0700
commit1b5a860f159916f0b289069ef3223e6fd754d36b (patch)
treee3bc66a99ae0d48e4f47e6e1c242012398b7fa3b /xlators/mgmt/glusterd/src/glusterd.c
parent09ed778309cd4d4cdbc19ad7cbdcea3da7408a66 (diff)
pass xlator pointer to rpcsvc_init() so that it can init svc->mydata to xlatorv3.3.0qa1
Change-Id: Icfd95cc67400c16a951d6a9f922fbdc07f40c5b6 BUG: 3314 Reviewed-on: http://review.gluster.com/180 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.c b/xlators/mgmt/glusterd/src/glusterd.c
index 99710cab9ef..e4fd7608aeb 100644
--- a/xlators/mgmt/glusterd/src/glusterd.c
+++ b/xlators/mgmt/glusterd/src/glusterd.c
@@ -626,7 +626,7 @@ init (xlator_t *this)
ret = glusterd_rpcsvc_options_build (this->options);
if (ret)
goto out;
- rpc = rpcsvc_init (this->ctx, this->options);
+ rpc = rpcsvc_init (this, this->ctx, this->options);
if (rpc == NULL) {
gf_log (this->name, GF_LOG_ERROR,
"failed to init rpc");