]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/unit: several cleanups for unit_queue_job_check_and_collapse_type() 40373/head
authorMike Yuan <me@yhndnzj.com>
Fri, 16 Jan 2026 19:53:47 +0000 (20:53 +0100)
committerMike Yuan <me@yhndnzj.com>
Sat, 17 Jan 2026 14:00:10 +0000 (15:00 +0100)
commit12effc32da6dcdda32f27f9ffce636679d0a042a
treed8c2506e5d253d68c9046aa02581246c09d80ee5
parent490067d41c00ece64d37dc4ff221cbff21aac31a
core/unit: several cleanups for unit_queue_job_check_and_collapse_type()

* Rename to _mangle_type() - it turned out this one doesn't collapse
  anything, but rather mangles the type if reload_if_possible is set.
  Hence name accordingly.
* Use -ELIBEXEC rather than -EUNATCH to denote dependency only units.
* Add a comment about the JOB_STOP and load state check.
src/core/dbus-unit.c
src/core/unit.c
src/core/unit.h
src/core/varlink-manager.c