summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/cgroup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index 4380ca030574..94b7fd63f7fc 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -1232,11 +1232,11 @@ static int parse_cgroupfs_options(char *data, struct cgroup_sb_opts *opts)
* otherwise if 'none', 'name=' and a subsystem name options
* were not specified, let's default to 'all'
*/
- if (all_ss || (!one_ss && !opts->none && !opts->name))
+ if (all_ss || (!one_ss && !opts->none && !opts->name)) {
for_each_subsys(ss, i)
if (!ss->disabled)
set_bit(i, &opts->subsys_mask);
-
+ }
/* Consistency checks */
if (opts->flags & CGRP_ROOT_SANE_BEHAVIOR) {