1 autofs-5.0.8 - fix task manager not getting signaled
3 From: Ian Kent <ikent@redhat.com>
5 If a task is added and the task list isn't empty and in progress
6 tasks depend on the new task completion the task manager doesn't
10 daemon/state.c | 10 +++++-----
11 2 files changed, 6 insertions(+), 5 deletions(-)
13 diff --git a/CHANGELOG b/CHANGELOG
14 index fb2f2d6..a01393c 100644
18 =======================
19 - fix undefined authtype_requires_creds err if ldap enabled but without sasl.
20 - fix master map type check.
21 +- fix task manager not getting signaled.
23 17/10/2013 autofs-5.0.8
24 =======================
25 diff --git a/daemon/state.c b/daemon/state.c
26 index 8d81788..3174a9c 100644
29 @@ -818,13 +818,13 @@ done:
30 new = st_alloc_task(ap, state);
32 list_add(&new->list, head);
33 - /* Added to empty state queue, kick state machine */
35 - status = pthread_cond_signal(&cond);
41 + status = pthread_cond_signal(&cond);