From ea15a3b6db9cf312df5be9cbd918d3d30897a1a6 Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Tue, 23 Nov 2010 16:36:44 +0000
Subject: [PATCH] Remove redundant/duplicate calls to select_g_reconfigure()
 when slurmctld is reconfigured.   The call will be issued from
 read_slurm_conf().

---
 src/slurmctld/controller.c | 1 -
 src/slurmctld/proc_req.c   | 1 -
 2 files changed, 2 deletions(-)

diff --git a/src/slurmctld/controller.c b/src/slurmctld/controller.c
index b4da6020488..4f621ce4e1b 100644
--- a/src/slurmctld/controller.c
+++ b/src/slurmctld/controller.c
@@ -769,7 +769,6 @@ static int _reconfigure_slurm(void)
 		_update_cred_key();
 		set_slurmctld_state_loc();
 	}
-	select_g_reconfigure();		/* notify select plugin*/
 	slurm_sched_partition_change();	/* notify sched plugin */
 	unlock_slurmctld(config_write_lock);
 	assoc_mgr_set_missing_uids();
diff --git a/src/slurmctld/proc_req.c b/src/slurmctld/proc_req.c
index 994388fe55a..0b60ebdcd5f 100644
--- a/src/slurmctld/proc_req.c
+++ b/src/slurmctld/proc_req.c
@@ -2019,7 +2019,6 @@ static void _slurm_rpc_reconfigure_controller(slurm_msg_t * msg)
 			msg_to_slurmd(REQUEST_RECONFIGURE);
 		}
 		in_progress = false;
-		select_g_reconfigure();		/* notify select plugin */
 		slurm_sched_partition_change();	/* notify sched plugin */
 		unlock_slurmctld(config_write_lock);
 		assoc_mgr_set_missing_uids();
-- 
GitLab