summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-10-24 16:09:35 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-10-25 15:34:48 -0400
commit7c52a17b1a31eedd40093a4fbb460cf492087d9b (patch)
treeec1f47cd66b2e805fed9c79aacfc500815bbf9a6 /src
parente90efc70900f8e69cfbafd9e9508bdeb4d40dad7 (diff)
Rearrange Unit to make pahole happy
After all we have lots of those.
Diffstat (limited to 'src')
-rw-r--r--src/core/unit.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/core/unit.h b/src/core/unit.h
index a773762f36..43ab4d1045 100644
--- a/src/core/unit.h
+++ b/src/core/unit.h
@@ -127,12 +127,6 @@ struct Unit {
dual_timestamp active_exit_timestamp;
dual_timestamp inactive_enter_timestamp;
- /* Counterparts in the cgroup filesystem */
- char *cgroup_path;
- CGroupControllerMask cgroup_realized_mask;
- CGroupControllerMask cgroup_subtree_mask;
- CGroupControllerMask cgroup_members_mask;
-
UnitRef slice;
/* Per type list */
@@ -176,6 +170,15 @@ struct Unit {
/* Cached unit file state */
UnitFileState unit_file_state;
+ /* Counterparts in the cgroup filesystem */
+ char *cgroup_path;
+ CGroupControllerMask cgroup_realized_mask;
+ CGroupControllerMask cgroup_subtree_mask;
+ CGroupControllerMask cgroup_members_mask;
+
+ /* How to start OnFailure units */
+ JobMode on_failure_job_mode;
+
/* Garbage collect us we nobody wants or requires us anymore */
bool stop_when_unneeded;
@@ -191,9 +194,6 @@ struct Unit {
/* Allow isolation requests */
bool allow_isolate;
- /* How to start OnFailure units */
- JobMode on_failure_job_mode;
-
/* Ignore this unit when isolating */
bool ignore_on_isolate;