summaryrefslogtreecommitdiffstats
path: root/src/core/job.h
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2023-07-08 13:45:51 +0200
committerLennart Poettering <lennart@poettering.net>2023-07-12 18:25:45 +0200
commit39939e7d0279ad38bfc11956ad44f0ce0b1f41f4 (patch)
treeba9739fdbfde97517ef8b708283e20696e9325a1 /src/core/job.h
parentMerge pull request #28344 from YHNdnzj/compare-device-node (diff)
downloadsystemd-39939e7d0279ad38bfc11956ad44f0ce0b1f41f4.tar.xz
systemd-39939e7d0279ad38bfc11956ad44f0ce0b1f41f4.zip
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.
Diffstat (limited to 'src/core/job.h')
-rw-r--r--src/core/job.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/job.h b/src/core/job.h
index 2c4fbdf4ed..891d87a79c 100644
--- a/src/core/job.h
+++ b/src/core/job.h
@@ -169,7 +169,7 @@ Job* job_new(Unit *unit, JobType type);
Job* job_new_raw(Unit *unit);
void job_unlink(Job *job);
Job* job_free(Job *job);
-Job* job_install(Job *j, JobMode mode);
+Job* job_install(Job *j, bool refuse_late_merge);
int job_install_deserialized(Job *j);
void job_uninstall(Job *j);
void job_dump(Job *j, FILE *f, const char *prefix);