]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core/manager: rearrange several struct fields 39562/head
authorMike Yuan <me@yhndnzj.com>
Sun, 26 Oct 2025 20:26:58 +0000 (21:26 +0100)
committerMike Yuan <me@yhndnzj.com>
Wed, 5 Nov 2025 09:40:22 +0000 (10:40 +0100)
src/core/manager.h

index 3197ca9f18f5159c59c33584b11156154e88c3ea..b7ee766b05dca92ddb39f9a68de1793f0c75cf5a 100644 (file)
@@ -321,8 +321,6 @@ typedef struct Manager {
 
         Hashmap *watch_bus;  /* D-Bus names => Unit object n:1 */
 
-        bool send_reloading_done;
-
         uint32_t current_job_id;
 
         /* Data specific to the Automount subsystem */
@@ -330,8 +328,8 @@ typedef struct Manager {
 
         /* Data specific to the cgroup subsystem */
         Hashmap *cgroup_unit;
-        CGroupMask cgroup_supported;
         char *cgroup_root;
+        CGroupMask cgroup_supported;
 
         /* Notifications from cgroups, when the unified hierarchy is used is done via inotify. */
         int cgroup_inotify_fd;
@@ -364,6 +362,8 @@ typedef struct Manager {
         bool dispatching_load_queue;
         int may_dispatch_stop_notify_queue; /* tristate */
 
+        bool send_reloading_done;
+
         /* Have we already sent out the READY=1 notification? */
         bool ready_sent;