projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3a367d
)
cgroup: use CGROUP_LIMIT_MAX where appropriate
author
Lennart Poettering
<lennart@poettering.net>
Wed, 17 Jan 2018 14:39:16 +0000
(15:39 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 22 Jan 2018 15:22:03 +0000
(16:22 +0100)
src/core/cgroup.c
patch
|
blob
|
history
diff --git
a/src/core/cgroup.c
b/src/core/cgroup.c
index
c2c4ef1
..
86a05a8
100644
(file)
--- a/
src/core/cgroup.c
+++ b/
src/core/cgroup.c
@@
-1062,7
+1062,7
@@
CGroupMask cgroup_context_get_mask(CGroupContext *c) {
mask |= CGROUP_MASK_DEVICES;
if (c->tasks_accounting ||
- c->tasks_max !=
(uint64_t) -1
)
+ c->tasks_max !=
CGROUP_LIMIT_MAX
)
mask |= CGROUP_MASK_PIDS;
return mask;