]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/transaction.c
core: refuse late merge only for anchor job when JOB_RESTART_DEPENDENCIES
authorMike Yuan <me@yhndnzj.com>
Sat, 8 Jul 2023 11:45:51 +0000 (19:45 +0800)
committerLennart Poettering <lennart@poettering.net>
Wed, 12 Jul 2023 16:25:45 +0000 (18:25 +0200)
commit39939e7d0279ad38bfc11956ad44f0ce0b1f41f4
treeba9739fdbfde97517ef8b708283e20696e9325a1
parent8620854aa14d439015de13fe9e31fc14f17d9786
core: refuse late merge only for anchor job when JOB_RESTART_DEPENDENCIES

Follow-up for 2a39b91459a4c27985d9a58309c0fda25f3cd397

The mentioned change makes all jobs in the transaction unmergeable
if mode == JOB_RESTART_DEPENDENCIES, but we only want the anchor job
to be re-enqueued.
src/core/job.c
src/core/job.h
src/core/transaction.c