From 59a820adda95ac5b15ea86de4f889018334dcb07 Mon Sep 17 00:00:00 2001
From: Dominik Bartkiewicz <bart@schedmd.com>
Date: Fri, 2 Jun 2017 06:57:01 -0600
Subject: [PATCH] Fix regression from commit 3e8aa451e6e9. (wrong list given in
 list_for_each)

---
 src/plugins/sched/backfill/backfill.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/plugins/sched/backfill/backfill.c b/src/plugins/sched/backfill/backfill.c
index 3ad915e0f81..16accd9f083 100644
--- a/src/plugins/sched/backfill/backfill.c
+++ b/src/plugins/sched/backfill/backfill.c
@@ -1016,7 +1016,8 @@ static int _attempt_backfill(void)
 	}
 	if (assoc_limit_stop) {
 		assoc_mgr_lock(&qos_read_lock);
-		list_for_each(part_list, _clear_qos_blocked_times, NULL);
+		list_for_each(assoc_mgr_qos_list,
+			      _clear_qos_blocked_times, NULL);
 		assoc_mgr_unlock(&qos_read_lock);
 	}
 
-- 
GitLab