X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=kernel%2Fcgroup_freezer.c;h=b1724ce98981d25e76980193b7e3984c9f7717cd;hb=2dd8ad81e31d0d36a5d448329c646ab43eb17788;hp=3649fc6b3eaa9a2aa78b6a0ef2af73d1a9fd9775;hpb=a4c75ba85cecd7ee3a54737af28836567efa7448;p=cascardo%2Flinux.git diff --git a/kernel/cgroup_freezer.c b/kernel/cgroup_freezer.c index 3649fc6b3eaa..b1724ce98981 100644 --- a/kernel/cgroup_freezer.c +++ b/kernel/cgroup_freezer.c @@ -373,4 +373,12 @@ struct cgroup_subsys freezer_subsys = { .can_attach = freezer_can_attach, .fork = freezer_fork, .base_cftypes = files, + + /* + * freezer subsys doesn't handle hierarchy at all. Frozen state + * should be inherited through the hierarchy - if a parent is + * frozen, all its children should be frozen. Fix it and remove + * the following. + */ + .broken_hierarchy = true, };