job.c: add missing notifier initialization
commit252f40913a87e1e89539a08b57e1740b3482906d
authorEmanuele Giuseppe Esposito <eesposit@redhat.com>
Wed, 3 Nov 2021 16:21:55 +0000 (3 12:21 -0400)
committerVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Tue, 28 Dec 2021 14:16:31 +0000 (28 15:16 +0100)
treecb015caf2f274e4b66f3a89eabc7ae2e8fbe251c
parent89f3bfa3265554d1d591ee4d7f1197b6e3397e84
job.c: add missing notifier initialization

It seems that on_idle list is not properly initialized like
the other notifiers.

Fixes: 34dc97b9a0e ("blockjob: Wake up BDS when job becomes idle")
Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
job.c