chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build-sys: better test for pkg-config/pkg.m4
[elogind.git]
/
cgroup.h
diff --git
a/cgroup.h
b/cgroup.h
index e290ffee9c14947b59c9c47ccf450d0bdab42bd3..d27c063c12fea7d11151be4c5f29adbda507217c 100644
(file)
--- a/
cgroup.h
+++ b/
cgroup.h
@@
-37,6
+37,12
@@
struct CGroupBonding {
struct cgroup *cgroup;
struct cgroup *cgroup;
+ /* For the Unit::cgroup_bondings list */
+ LIST_FIELDS(CGroupBonding, by_unit);
+
+ /* For the Manager::cgroup_bondings hashmap */
+ LIST_FIELDS(CGroupBonding, by_path);
+
/* When shutting down, remove cgroup? */
bool clean_up:1;
/* When shutting down, remove cgroup? */
bool clean_up:1;
@@
-45,12
+51,6
@@
struct CGroupBonding {
/* Inherit parameters from parent group */
bool inherit:1;
/* Inherit parameters from parent group */
bool inherit:1;
-
- /* For the Unit::cgroup_bondings list */
- LIST_FIELDS(CGroupBonding, by_unit);
-
- /* For the Manager::cgroup_bondings hashmap */
- LIST_FIELDS(CGroupBonding, by_path);
};
int cgroup_bonding_realize(CGroupBonding *b);
};
int cgroup_bonding_realize(CGroupBonding *b);