233933
From 030b5681d47268c591a72035d5a2419234bd1f5f Mon Sep 17 00:00:00 2001
233933
From: Mohammed Rafi KC <rkavunga@redhat.com>
233933
Date: Thu, 11 Jul 2019 12:44:55 +0530
233933
Subject: [PATCH 236/255] Revert "shd/mux: Fix race between mux_proc unlink and
233933
 stop"
233933
233933
This reverts commit e386fb4f4baf834e6a8fc25cc2fbbb17eb0a7a56.
233933
233933
BUG: 1471742
233933
Change-Id: I6c52835981389fc5bfeb43483feb581ad8507990
233933
Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com>
233933
Reviewed-on: https://code.engineering.redhat.com/gerrit/175945
233933
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
233933
Tested-by: RHGS Build Bot <nigelb@redhat.com>
233933
---
233933
 xlators/mgmt/glusterd/src/glusterd-shd-svc.c | 3 ---
233933
 1 file changed, 3 deletions(-)
233933
233933
diff --git a/xlators/mgmt/glusterd/src/glusterd-shd-svc.c b/xlators/mgmt/glusterd/src/glusterd-shd-svc.c
233933
index dbe2560..d81d760 100644
233933
--- a/xlators/mgmt/glusterd/src/glusterd-shd-svc.c
233933
+++ b/xlators/mgmt/glusterd/src/glusterd-shd-svc.c
233933
@@ -694,9 +694,6 @@ glusterd_shdsvc_stop(glusterd_svc_t *svc, int sig)
233933
         gf_is_service_running(svc->proc.pidfile, &pid;;
233933
         cds_list_del_init(&svc->mux_svc);
233933
         empty = cds_list_empty(&svc_proc->svcs);
233933
-        if (empty) {
233933
-            cds_list_del_init(&svc_proc->svc_proc_list);
233933
-        }
233933
     }
233933
     pthread_mutex_unlock(&conf->attach_lock);
233933
     if (empty) {
233933
-- 
233933
1.8.3.1
233933