From 8b97fdbbfcea7f274675f0d44e582ea646c98643 Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Mon, 15 May 2006 23:38:59 +0000
Subject: [PATCH] Fix bug that could temporariy make nodes DOWN when they are
 really responding.

---
 NEWS                  | 5 +++++
 src/slurmctld/agent.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index 59974eca082..5d32973d480 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,11 @@
 This file describes changes in recent versions of SLURM. It primarily
 documents those changes that are of interest to users and admins. 
 
+* Changes in SLURM 1.1.0-pre9
+=============================
+ -- Fix bug that could temporariy make nodes DOWN when they are really 
+    responding. 
+
 * Changes in SLURM 1.1.0-pre8
 =============================
  -- Fix bug in enforcement of partition's MaxNodes limit.
diff --git a/src/slurmctld/agent.c b/src/slurmctld/agent.c
index fc38b9a7596..6ba3fe1b2ab 100644
--- a/src/slurmctld/agent.c
+++ b/src/slurmctld/agent.c
@@ -678,8 +678,8 @@ static void _notify_slurmctld_nodes(agent_info_t *agent_ptr,
 				goto finished;
 		}
 		list_iterator_destroy(itr);
+finished:	;
 	}
-finished:
 	unlock_slurmctld(node_write_lock);
 	if (run_scheduler) {
 		run_scheduler = false;
-- 
GitLab