summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c
index 32ebcb8b9b2..e00d9a12fa5 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.c
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.c
@@ -597,11 +597,8 @@ glusterd_volinfo_new (glusterd_volinfo_t **volinfo)
new_volinfo->xl = THIS;
- new_volinfo->snapd.svc.build = glusterd_snapdsvc_build;
- new_volinfo->snapd.svc.build (&(new_volinfo->snapd.svc));
-
- new_volinfo->tierd.svc.build = glusterd_tierdsvc_build;
- new_volinfo->tierd.svc.build (&(new_volinfo->tierd.svc));
+ glusterd_snapdsvc_build (&new_volinfo->snapd.svc);
+ glusterd_tierdsvc_build (&new_volinfo->tierd.svc);
pthread_mutex_init (&new_volinfo->reflock, NULL);
*volinfo = glusterd_volinfo_ref (new_volinfo);