|
@@ -1342,7 +1342,7 @@ static int cgroup_show_options(struct seq_file *seq,
|
|
if (root != &cgrp_dfl_root)
|
|
if (root != &cgrp_dfl_root)
|
|
for_each_subsys(ss, ssid)
|
|
for_each_subsys(ss, ssid)
|
|
if (root->subsys_mask & (1 << ssid))
|
|
if (root->subsys_mask & (1 << ssid))
|
|
- seq_printf(seq, ",%s", ss->legacy_name);
|
|
|
|
|
|
+ seq_show_option(seq, ss->name, NULL);
|
|
if (root->flags & CGRP_ROOT_NOPREFIX)
|
|
if (root->flags & CGRP_ROOT_NOPREFIX)
|
|
seq_puts(seq, ",noprefix");
|
|
seq_puts(seq, ",noprefix");
|
|
if (root->flags & CGRP_ROOT_XATTR)
|
|
if (root->flags & CGRP_ROOT_XATTR)
|
|
@@ -1350,13 +1350,14 @@ static int cgroup_show_options(struct seq_file *seq,
|
|
|
|
|
|
spin_lock(&release_agent_path_lock);
|
|
spin_lock(&release_agent_path_lock);
|
|
if (strlen(root->release_agent_path))
|
|
if (strlen(root->release_agent_path))
|
|
- seq_printf(seq, ",release_agent=%s", root->release_agent_path);
|
|
|
|
|
|
+ seq_show_option(seq, "release_agent",
|
|
|
|
+ root->release_agent_path);
|
|
spin_unlock(&release_agent_path_lock);
|
|
spin_unlock(&release_agent_path_lock);
|
|
|
|
|
|
if (test_bit(CGRP_CPUSET_CLONE_CHILDREN, &root->cgrp.flags))
|
|
if (test_bit(CGRP_CPUSET_CLONE_CHILDREN, &root->cgrp.flags))
|
|
seq_puts(seq, ",clone_children");
|
|
seq_puts(seq, ",clone_children");
|
|
if (strlen(root->name))
|
|
if (strlen(root->name))
|
|
- seq_printf(seq, ",name=%s", root->name);
|
|
|
|
|
|
+ seq_show_option(seq, "name", root->name);
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|