unit: coldplug both job and nop_job if possible
authorGeass-LL <shenxiaogll@163.com>
Fri, 2 Apr 2021 03:27:59 +0000 (11:27 +0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 24 Aug 2021 10:57:34 +0000 (12:57 +0200)
commit213ae9db6274227636fdca6731511499ed933e61
tree32e098abb9f37c375dcc1391f58dfde2fb93f7f5
parent1d1b7de63902e5fa8d1ba900e9bf608e2ccd2b23
unit: coldplug both job and nop_job if possible

Sometimes, both job and nop_job are deserialized. In this case,
if we only cold plug the job, the nop_job will also stuck in the
job list.

(cherry picked from commit 7dbd330c7ef28852db0fb044503ed6f072477d50)
src/core/unit.c