diff options
author | Tejun Heo <tj@kernel.org> | 2013-06-24 18:21:47 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-06-24 18:21:47 -0400 |
commit | 02c402d98588bdfd3bebd267db574e13afdef722 (patch) | |
tree | 1287cb3545c2096f164ce0989f7af7bb416698d7 /include/linux/cgroup.h | |
parent | 03c78cbebb323fc97295ff97dc5e009d56371d57 (diff) |
cgroup: convert CFTYPE_* flags to enums
Purely cosmetic.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'include/linux/cgroup.h')
-rw-r--r-- | include/linux/cgroup.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index 6c2ba52fc5d4..ab27001a2c4a 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h | |||
@@ -385,9 +385,11 @@ struct cgroup_map_cb { | |||
385 | */ | 385 | */ |
386 | 386 | ||
387 | /* cftype->flags */ | 387 | /* cftype->flags */ |
388 | #define CFTYPE_ONLY_ON_ROOT (1U << 0) /* only create on root cg */ | 388 | enum { |
389 | #define CFTYPE_NOT_ON_ROOT (1U << 1) /* don't create on root cg */ | 389 | CFTYPE_ONLY_ON_ROOT = (1 << 0), /* only create on root cg */ |
390 | #define CFTYPE_INSANE (1U << 2) /* don't create if sane_behavior */ | 390 | CFTYPE_NOT_ON_ROOT = (1 << 1), /* don't create on root cg */ |
391 | CFTYPE_INSANE = (1 << 2), /* don't create if sane_behavior */ | ||
392 | }; | ||
391 | 393 | ||
392 | #define MAX_CFTYPE_NAME 64 | 394 | #define MAX_CFTYPE_NAME 64 |
393 | 395 | ||