summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-shd-svc.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-shd-svc.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-shd-svc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-shd-svc.c b/xlators/mgmt/glusterd/src/glusterd-shd-svc.c
index 3e257e63c18..2edc2738954 100644
--- a/xlators/mgmt/glusterd/src/glusterd-shd-svc.c
+++ b/xlators/mgmt/glusterd/src/glusterd-shd-svc.c
@@ -460,8 +460,8 @@ glusterd_shdsvc_start(glusterd_svc_t *svc, int flags)
"Failed to attach shd svc(volume=%s) to pid=%d. Starting"
"a new process",
volinfo->volname, glusterd_proc_get_pid(&svc->proc));
- glusterd_volinfo_unref(volinfo);
ret = glusterd_recover_shd_attach_failure(volinfo, svc, flags);
+ glusterd_volinfo_unref(volinfo);
}
goto out;
}